diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-14 17:09:45 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-16 00:20:13 +0100 |
commit | 9197d3cbbc1e109b1c031071ffdeb27b37225728 (patch) | |
tree | 2e3ef6c567d5d861fd71505129585d057f74247c /Makefile |
added the first practical
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
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 |