From 81c9dede6732883a768c79c9746eaf2df2b28e45 Mon Sep 17 00:00:00 2001 From: vilmibm Date: Sat, 4 Nov 2023 05:09:33 +0000 Subject: [PATCH] tweak --- Makefile | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 79e1c39..652fac0 100644 --- a/Makefile +++ b/Makefile @@ -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