projects
/
rrq
/
hourglass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
intermediate capture
[rrq/hourglass.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 8d20a06a62e85810f08cdff785bc7076ae8a010a..c6977ec5216d128c2ad31a9b653214fc03119ad3 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,14
+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
+OTHER = setup.sh hourglass.conf
+VERSION = 0.1
-all: $(BIN)
+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