With pandoc 2.5, the man/xen-vbd-interface.markdown.7 isn't detected as
markdown and the output isn't formated. Add the format of the input to
pandoc's command line.

Signed-off-by: Anthony PERARD <anthony.per...@citrix.com>
---
 docs/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/Makefile b/docs/Makefile
index fba6673db6..7376f0f0ab 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -112,7 +112,7 @@ ifneq ($(PANDOC),)
        @$(INSTALL_DIR) $$(@D)
        $(PANDOC) --standalone -V title=$$* -V section=$(1) \
                      -V date="$(DATE)" -V footer="$(VERSION)" \
-                         -V header=Xen $$< -t man --output $$@
+                     -V header=Xen $$< -f markdown -t man --output $$@
 else
        @echo "pandoc not installed; skipping $$@"
 endif
@@ -129,7 +129,7 @@ endif
 html/man/%.$(1).html: man/%.markdown.$(1) Makefile
 ifneq ($(PANDOC),)
        @$(INSTALL_DIR) $$(@D)
-       $(PANDOC) --standalone $$< -t html --toc --output $$@
+       $(PANDOC) --standalone $$< -f markdown -t html --toc --output $$@
 else
        @echo "pandoc not installed; skipping $$@"
 endif
-- 
Anthony PERARD


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to