From aa18a6c13c6162107c3870b997d68e4ea2ffdf3f Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 10 May 2015 20:38:46 +0100 Subject: improved the Makefile we have rules to compile the pdf and or the html the PHONY target was forgotten and has been added Signed-off-by: Olivier Gayot --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3