From 9197d3cbbc1e109b1c031071ffdeb27b37225728 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 14 Jan 2015 17:09:45 +0100 Subject: added the first practical Signed-off-by: Olivier Gayot --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..edec2ca --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +SRC = $(wildcard *.adoc) + +HTML = $(SRC:.adoc=.html) +PDF = $(SRC:.adoc=.pdf) + +all: $(HTML) $(PDF) + +%.html: %.adoc $(wildcard *.adoci) + asciidoc $< + +%.pdf: %.adoc $(wildcard *.adoci) + a2x $< -L -- cgit v1.2.3