projects
/
rrq
/
hourglass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added
[rrq/hourglass.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 999f4c90454937be4b44c837a3d54e093e62e647..1d27cfa13b0d9be73d0345edf7a9df18e84cc62c 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,7
+1,8
@@
MAIN = command.lsp
LSP = $(filter-out $(MAIN),$(wildcard *.lsp))
MAIN = command.lsp
LSP = $(filter-out $(MAIN),$(wildcard *.lsp))
-BIN = hourglass hourglass-web
+BIN = hourglass hourglass-web
hourglass-site
DOCS = hourglass-guide.html hourglass-guide.pdf
DOCS = hourglass-guide.html hourglass-guide.pdf
+IMGS = $(wildcard *.png)
OTHER = setup.sh hourglass.conf
VERSION = 0.1
OTHER = setup.sh hourglass.conf
VERSION = 0.1
@@
-10,18
+11,23
@@
dist: hourglass-$(VERSION).tgz
hourglass: $(MAIN) $(LSP)
packnl -w $@ $^
hourglass: $(MAIN) $(LSP)
packnl -w $@ $^
-hourglass-web:
+hourglass-web:
manager siteconfig.lsp
$(MAKE) -C manager
mv manager/$@ $@
$(MAKE) -C manager
mv manager/$@ $@
-hourglass-$(VERSION).tgz: $(BIN) $(OTHER) $(DOCS)
+hourglass-site: sitetool
+ $(MAKE) -C sitetool
+ mv sitetool/sitetool $@
+
+hourglass-$(VERSION).tgz: $(BIN) $(OTHER) $(DOCS) $(IMGS)
tar czf $@ $^
%.html: %.adoc
asciidoctor $< > $@
tar czf $@ $^
%.html: %.adoc
asciidoctor $< > $@
-%.pdf: %.adoc
+%.pdf: %.adoc
| $(IMGS)
asciidoctor-pdf $< > $@
clean:
asciidoctor-pdf $< > $@
clean:
+ $(MAKE) -C manager clean
rm -f $(BIN) hourglass-$(VERSION).tgz
rm -f $(BIN) hourglass-$(VERSION).tgz