vilmibm 2023-11-04 05:09:33 +00:00
parent 4958407856
commit 81c9dede67
1 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,21 @@
all: cmds external
install: all
cp bin/launcher /usr/local/bin/town
cp bin/stats /town/bin/
cp bin/contrib /town/bin/
cp bin/request /town/bin/
cp bin/appendkeyfile /town/bin/
cp bin/createkeyfile /town/bin/
cp bin/emailtouser /town/bin/
cp bin/registeruser /town/bin/
cp bin/help /town/bin/external/c
cp bin/welcome /town/bin/external/
cp bin/signup /town/bin/external/
clean:
rm -rf bin
external: bin/help bin/welcome bin/signup exthelpers
bin/help: external/cmd/help/main.go bin
@ -41,19 +57,3 @@ bin/request: cmd/request/main.go bin
bin:
mkdir -p bin
install: all
cp bin/launcher /usr/local/bin/town
cp bin/stats /town/bin/
cp bin/contrib /town/bin/
cp bin/request /town/bin/
cp bin/appendkeyfile /town/bin/
cp bin/createkeyfile /town/bin/
cp bin/emailtouser /town/bin/
cp bin/registeruser /town/bin/
cp bin/help /town/bin/external/c
cp bin/welcome /town/bin/external/
cp bin/signup /town/bin/external/
clean:
rm -rf bin