--- a/make/launcher/LauncherCommon.gmk Mon Dec 03 12:15:49 2018 +0100
+++ b/make/launcher/LauncherCommon.gmk Mon Dec 03 18:33:11 2018 +0100
@@ -211,11 +211,12 @@
$(info Warning: pandoc not found. Not generating man pages)
else
# Create dynamic man pages from markdown using pandoc. We need
- # PANDOC_FILTER, a wrapper around PANDOC_FILTER_JAVASCRIPT. This is
- # created by buildtools-jdk.
+ # PANDOC_TROFF_MANPAGE_FILTER, a wrapper around
+ # PANDOC_TROFF_MANPAGE_FILTER_JAVASCRIPT. This is created by buildtools-jdk.
# We should also depend on the source javascript filter
- PANDOC_FILTER_JAVASCRIPT := $(TOPDIR)/make/scripts/pandoc-manpage-filter.js
+ PANDOC_TROFF_MANPAGE_FILTER_JAVASCRIPT := \
+ $(TOPDIR)/make/scripts/pandoc-troff-manpage-filter.js
# The norm in man pages is to display code literals as bold, but pandoc
# "correctly" converts these constructs (encoded in markdown using `...`
@@ -238,10 +239,11 @@
DEST := $(SUPPORT_OUTPUTDIR)/modules_man/$(MODULE)/man1, \
FILES := $(MAN_FILES_MD), \
FORMAT := man, \
- FILTER := $(PANDOC_FILTER), \
+ FILTER := $(PANDOC_TROFF_MANPAGE_FILTER), \
POST_PROCESS := $(MAN_POST_PROCESS), \
REPLACEMENTS := @@VERSION_SHORT@@ => $(VERSION_SHORT), \
- EXTRA_DEPS := $(PANDOC_FILTER) $(PANDOC_FILTER_JAVASCRIPT), \
+ EXTRA_DEPS := $(PANDOC_TROFF_MANPAGE_FILTER) \
+ $(PANDOC_TROFF_MANPAGE_FILTER_JAVASCRIPT), \
))
TARGETS += $(BUILD_MAN_PAGES)