X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=Makefile;h=999f4c90454937be4b44c837a3d54e093e62e647;hb=c58461cf6ea38f43cdaeae95bb9d8204651eaf70;hp=c6977ec5216d128c2ad31a9b653214fc03119ad3;hpb=166ca47a44dbbe5461c389e6e5b2fe06da049339;p=rrq%2Fhourglass.git diff --git a/Makefile b/Makefile index c6977ec..999f4c9 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ MAIN = command.lsp LSP = $(filter-out $(MAIN),$(wildcard *.lsp)) BIN = hourglass hourglass-web +DOCS = hourglass-guide.html hourglass-guide.pdf OTHER = setup.sh hourglass.conf VERSION = 0.1 @@ -13,8 +14,14 @@ hourglass-web: $(MAKE) -C manager mv manager/$@ $@ -hourglass-$(VERSION).tgz: $(BIN) $(OTHER) +hourglass-$(VERSION).tgz: $(BIN) $(OTHER) $(DOCS) tar czf $@ $^ +%.html: %.adoc + asciidoctor $< > $@ + +%.pdf: %.adoc + asciidoctor-pdf $< > $@ + clean: rm -f $(BIN) hourglass-$(VERSION).tgz