aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Setup.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Setup.hs b/Setup.hs
index d808a65b8..84384636b 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -39,7 +39,8 @@ makeManPage manpage = do
let source = manDir </> manpage <.> "md"
modifiedDeps <- modifiedDependencies page [source]
unless (null modifiedDeps) $ do
- ec <- runProcess pandoc ["-s", "-S", "-r", "markdown", "-w", "man", "-o", page, source]
+ ec <- runProcess pandoc ["-s", "-S", "-r", "markdown", "-w", "man",
+ "--template=templates/man.template", "-o", page, source]
Nothing Nothing Nothing Nothing (Just stderr) >>= waitForProcess
case ec of
ExitSuccess -> putStrLn $ "Created " ++ manDir </> manpage