aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-08-31 17:57:01 -0700
committerJohn MacFarlane <[email protected]>2023-08-31 17:57:01 -0700
commit5fe3396a221b34145c56ccfae39ab947fb407817 (patch)
treed4ff4f3e93e8d9cda0dd1763d4105c232c5c6a49 /Makefile
parent19385e1833fc060f113abeecb1d5882e0f1c10d2 (diff)
Add Makefile targets for pandoc-lua.1, pandoc-server.1.
Regenerate these man pages.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 772620d88..4011eefaf 100644
--- a/Makefile
+++ b/Makefile
@@ -169,6 +169,18 @@ man/pandoc.1: MANUAL.txt man/pandoc.1.before man/pandoc.1.after
--variable footer="pandoc $(version)" \
-o $@
+man/%.1: doc/%.md
+ pandoc $< -f markdown -t man -s \
+ --lua-filter man/manfilter.lua \
+ --metadata author="" \
+ --variable section="1" \
+ --variable title="$(basename $(notdir $@))" \
+ --variable header='Pandoc User\[cq]s Guide' \
+ --variable footer="pandoc $(version)" \
+ --include-after-body man/pandoc.1.after \
+ -o $@
+
+
man/pandoc-%.1: doc/pandoc-%.md
pandoc $< -f markdown -t man -s \
--lua-filter man/manfilter.lua \