From: Peter Hull <peterhull90@gmail.com>
Date: Sat, 24 Oct 2020 12:13:17 +0100
Subject: Fix warnings in make_doc
Applied-Upstream: https://github.com/liballeg/allegro5/commit/a19ae9bab5ed57d46adef32deb80abb6029afd0f

Explicitly tell pandoc that the input format is markdown (auto
detection doesn't work because the temp input files have an
extension consisting of random characters.
---
 docs/scripts/make_doc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/scripts/make_doc.c b/docs/scripts/make_doc.c
index b64dc5e..61a4b9d 100644
--- a/docs/scripts/make_doc.c
+++ b/docs/scripts/make_doc.c
@@ -256,7 +256,7 @@ void call_pandoc(const char *input, const char *output,
       }
    }
 
-   sprintf(cmd, "\"%s\" %s %s %s --to %s --output %s",
+   sprintf(cmd, "\"%s\" %s %s %s --from markdown --to %s --output %s",
       pandoc, input_native, pandoc_options, extra_options, to_format, output);
    if (system(cmd) != 0) {
       d_abort("system call failed: ", cmd);
