diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |