diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-08-27 17:50:46 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-08-27 17:50:46 +0200 |
commit | b24f65a0b9e7c3cd342f656400fac823dca447d9 (patch) | |
tree | 30817a1c55379ba16962b4a79bd0b3109a0038bd /docs/Makefile | |
parent | 02d824004a8eaa6eb26fadcef3f90c7de068597e (diff) | |
download | libuca-b24f65a0b9e7c3cd342f656400fac823dca447d9.tar.gz libuca-b24f65a0b9e7c3cd342f656400fac823dca447d9.tar.bz2 libuca-b24f65a0b9e7c3cd342f656400fac823dca447d9.tar.xz libuca-b24f65a0b9e7c3cd342f656400fac823dca447d9.zip |
Separate manual from reference
Diffstat (limited to 'docs/Makefile')
-rw-r--r-- | docs/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
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 |