git.iko.soy/typeable/pandoc
on master help sign in
Moved manpage.template -> man/man1/pandoc.1.template.
commit219573eed213dd40a405f24e3acfddf9a9ffb379 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 28 Jan 2011, 09:15 (16 years ago) parentf90e18b
3 files changed+3−2
MakeManPage.hs+2−1 manpage.template → man/man1/pandoc.1.template pandoc.cabal+1−1
MakeManPage.hs+2−1
@@ -10,7 +10,8 @@ main = do
1010 rmContents <- liftM toString $ B.readFile "README"
1111 let (Pandoc meta blocks) = readMarkdown defaultParserState rmContents
1212 let newBlocks = removeWrapperSect blocks
13− manTemplate <- liftM toString $ B.readFile "manpage.template"
13+ manTemplate <- liftM toString $ B.readFile
14+ $ "man" </> "man1" </> "pandoc.1.template"
1415 let opts = defaultWriterOptions{ writerStandalone = True
1516 , writerTemplate = manTemplate }
1617 let manPage = writeMan opts $
manpage.template → man/man1/pandoc.1.templaterenamed

The content is the same.

pandoc.cabal+1−1
@@ -73,7 +73,7 @@ Extra-Source-Files:
7373 man/man1/markdown2pdf.1.md,
7474 -- code to create pandoc.1 man page
7575 MakeManPage.hs,
76− manpage.template,
76+ man/man1/pandoc.1.template,
7777 -- generated man pages (produced post-build)
7878 man/man1/markdown2pdf.1,
7979 man/man1/pandoc.1,