aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2214436c5..791f7cdb4 100644
--- a/Makefile
+++ b/Makefile
@@ -98,10 +98,13 @@ pandoc-windows-x86_64.msi:
JOBID=$(shell curl https://ci.appveyor.com/api/projects/jgm/pandoc | jq '.build.jobs[]| select(.name|test("x86_64")) | .jobId') && \
wget "https://ci.appveyor.com/api/buildjobs/$$JOBID/artifacts/windows%2F$@" -O $@
-man/pandoc.1: MANUAL.txt man/pandoc.1.template
- pandoc $< -f markdown-smart -t man -s --template man/pandoc.1.template \
+man/pandoc.1: MANUAL.txt man/pandoc.1.before man/pandoc.1.after
+ pandoc $< -f markdown-smart -t man -s \
--lua-filter man/manfilter.lua \
- --variable version="pandoc $(version)" \
+ --include-before-body man/pandoc.1.before \
+ --include-after-body man/pandoc.1.after \
+ --metadata author="" \
+ --variable footer="pandoc $(version)" \
-o $@
doc/lua-filters.md: tools/ldoc.ltp data/pandoc.lua tools/update-lua-docs.lua