Skip to content

Commit 078c11f

Browse files
Update Makefile
1 parent a2b1538 commit 078c11f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ plugin-sdk: $(SDK_OBJ)
8787
@echo Compiling Plugin SDK
8888
@$(CC) -r $(SDK_OBJ) -o $(BIN)/plugin-sdk.o
8989

90+
install: release
91+
mkdir tarman && \
92+
cp ./bin/tarman ./tarman/tarman && \
93+
tar -cvzf ./tarman-package.tar.gz ./tarman && \
94+
rm -rf ./tarman && \
95+
./bin/tarman install -f tar.gz -n tarman -p ./tarman-package.tar.gz && \
96+
rm ./tarman-package.tar.gz
97+
9098
$(PLUGIN_MAKEFILES): force
9199
@echo Compiling plugin "'$(@D)'"
92100
@$(MAKE) -C $(@D) DIST="../../$(BIN)/plugins" CC="$(CC)" SDK="../../$(BIN)/plugin-sdk.o" SDK_FLAGS="$(CUSTOM_CFLAGS) $(CUSTOM_LDFLAGS) -I../../include/" > /dev/null

0 commit comments

Comments
 (0)