added conf to dist
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Sun, 2 Jan 2022 03:16:47 +0000 (14:16 +1100)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Sun, 2 Jan 2022 03:16:47 +0000 (14:16 +1100)
Makefile

index fcacf90bf34963b96f859918b5b1e6c2794d3f4e..c6977ec5216d128c2ad31a9b653214fc03119ad3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,20 @@
 MAIN = command.lsp
 LSP = $(filter-out $(MAIN),$(wildcard *.lsp))
 BIN = hourglass hourglass-web
-SH = setup.sh
+OTHER = setup.sh hourglass.conf
 VERSION = 0.1
 
-dist: $(BIN) $(SH)
-       tar czf hourglass-$(VERSION).tgz $(BIN) $(SH)
+dist: hourglass-$(VERSION).tgz
 
 hourglass: $(MAIN) $(LSP)
        packnl -w $@ $^
 
 hourglass-web:
-       $(MAKE) -C manager && mv manager/$@ $@
+       $(MAKE) -C manager
+       mv manager/$@ $@
+
+hourglass-$(VERSION).tgz: $(BIN) $(OTHER)
+       tar czf $@ $^
 
 clean:
-       rm -f $(BIN)
+       rm -f $(BIN) hourglass-$(VERSION).tgz