From b24f65a0b9e7c3cd342f656400fac823dca447d9 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 27 Aug 2012 17:50:46 +0200 Subject: Separate manual from reference --- docs/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/Makefile (limited to 'docs/Makefile') diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 0000000..f92bfc9 --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,22 @@ +PANDOC=$(shell which pandoc) +MD2PDF=$(shell which markdown2pdf) +OPTS=-s --smart + +all: pdf html + +pdf: manual.pdf + +html: manual.html + +clean: + rm -f manual.pdf manual.html + +manual.pdf: manual.md + $(MD2PDF) -o manual.pdf manual.md + +manual.html: manual.md + $(PANDOC) $(OPTS) manual.md -o manual.html + +ifeq ($(PANDOC),) + $(warning Pandoc not found!) +endif -- cgit v1.2.3