tweak
parent
4958407856
commit
81c9dede67
32
Makefile
32
Makefile
|
@ -1,5 +1,21 @@
|
||||||
all: cmds external
|
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
|
external: bin/help bin/welcome bin/signup exthelpers
|
||||||
|
|
||||||
bin/help: external/cmd/help/main.go bin
|
bin/help: external/cmd/help/main.go bin
|
||||||
|
@ -41,19 +57,3 @@ bin/request: cmd/request/main.go bin
|
||||||
|
|
||||||
bin:
|
bin:
|
||||||
mkdir -p 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
|
|
||||||
|
|
Loading…
Reference in New Issue