projects
/
rrq
/
hourglass.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2818b94
)
added conf to dist
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Sun, 2 Jan 2022 03:16:47 +0000
(14:16 +1100)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Sun, 2 Jan 2022 03:16:47 +0000
(14:16 +1100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/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
MAIN = command.lsp
LSP = $(filter-out $(MAIN),$(wildcard *.lsp))
BIN = hourglass hourglass-web
-SH = setup.sh
+OTHER = setup.sh hourglass.conf
VERSION = 0.1
VERSION = 0.1
-dist: $(BIN) $(SH)
- tar czf hourglass-$(VERSION).tgz $(BIN) $(SH)
+dist: hourglass-$(VERSION).tgz
hourglass: $(MAIN) $(LSP)
packnl -w $@ $^
hourglass-web:
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:
clean:
- rm -f $(BIN)
+ rm -f $(BIN)
hourglass-$(VERSION).tgz