summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b0c14d2..8b5ac02 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,19 @@ SRC = $(wildcard *.asciidoc)
HTML = $(SRC:.asciidoc=.html)
PDF = $(SRC:.asciidoc=.pdf)
-all: $(HTML) $(PDF)
+all: html pdf
+
+html: $(HTML)
+
+pdf: $(PDF)
%.html: %.asciidoc $(wildcard *.asciidoci)
asciidoc $<
%.pdf: %.asciidoc $(wildcard *.asciidoci)
a2x $< -L
+
+clean:
+ $(RM) $(HTML) $(PDF)
+
+.PHONY: all clean html pdf