diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2011-01-28 09:15:29 -0800 | 
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2011-01-28 09:15:29 -0800 | 
| commit | 219573eed213dd40a405f24e3acfddf9a9ffb379 (patch) | |
| tree | da17cfe906cdf138c46e390957eab2c6a12409a9 | |
| parent | f90e18b95504c4a684f317acc6592c26b76c547b (diff) | |
| download | pandoc-219573eed213dd40a405f24e3acfddf9a9ffb379.tar.gz | |
Moved manpage.template -> man/man1/pandoc.1.template.
| -rw-r--r-- | MakeManPage.hs | 3 | ||||
| -rw-r--r-- | man/man1/pandoc.1.template (renamed from manpage.template) | 0 | ||||
| -rw-r--r-- | pandoc.cabal | 2 | 
3 files changed, 3 insertions, 2 deletions
| diff --git a/MakeManPage.hs b/MakeManPage.hs index ceaedd412..f165fbd68 100644 --- a/MakeManPage.hs +++ b/MakeManPage.hs @@ -10,7 +10,8 @@ main = do    rmContents <- liftM toString $ B.readFile "README"    let (Pandoc meta blocks) = readMarkdown defaultParserState rmContents    let newBlocks = removeWrapperSect blocks -  manTemplate <- liftM toString $ B.readFile "manpage.template" +  manTemplate <- liftM toString $ B.readFile +                 $ "man" </> "man1" </> "pandoc.1.template"    let opts = defaultWriterOptions{ writerStandalone = True                                   , writerTemplate = manTemplate }    let manPage = writeMan opts $ diff --git a/manpage.template b/man/man1/pandoc.1.template index 544ef0a97..544ef0a97 100644 --- a/manpage.template +++ b/man/man1/pandoc.1.template diff --git a/pandoc.cabal b/pandoc.cabal index 977ea6b3a..b73941f14 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -73,7 +73,7 @@ Extra-Source-Files:                   man/man1/markdown2pdf.1.md,                   -- code to create pandoc.1 man page                   MakeManPage.hs, -                 manpage.template, +                 man/man1/pandoc.1.template,                   -- generated man pages (produced post-build)                   man/man1/markdown2pdf.1,                   man/man1/pandoc.1, | 
