summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-04-11 09:16:40 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-04-11 09:16:40 +0200
commit932201f41ce50050c728077d30273200ea44a4ec (patch)
tree30940dc8b4a9e2046a88ac1defcbff6e5c64daa8 /docs
parent710e6f9f2605b131bd63ec0bd3e5b3cdb5b43a23 (diff)
downloaduca-932201f41ce50050c728077d30273200ea44a4ec.tar.gz
uca-932201f41ce50050c728077d30273200ea44a4ec.tar.bz2
uca-932201f41ce50050c728077d30273200ea44a4ec.tar.xz
uca-932201f41ce50050c728077d30273200ea44a4ec.zip
Append NEWS file to the manual
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 53dc6fd..ededfe8 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -1,5 +1,8 @@
PANDOC=$(shell which pandoc)
OPTS=-s --smart --toc
+MANUAL=manual.md
+NEWS=../NEWS
+INPUTS=$(MANUAL) $(NEWS)
all: pdf html
@@ -10,11 +13,11 @@ html: manual.html
clean:
rm -f manual.pdf manual.html
-manual.pdf: manual.md
- $(PANDOC) $(OPTS) manual.md -o manual.pdf
+manual.pdf: $(INPUTS)
+ $(PANDOC) $(OPTS) $(INPUTS) -o $@
-manual.html: manual.md style.css
- $(PANDOC) $(OPTS) manual.md -H webfonts.html -c style.css -o manual.html
+manual.html: $(INPUTS) style.css
+ $(PANDOC) $(OPTS) $(INPUTS) -H webfonts.html -c style.css -o $@
ifeq ($(PANDOC),)
$(warning Pandoc not found!)