git.iko.soy/typeable/pandoc
on 1e2f2bc help sign in
history ofSetup.hs
all commits
ba32c2eSimplified build process using template haskell. + Text/Pandoc/ASCIIMathML.hs, Text/Pandoc/DefaultHeaders.hs, and Text/Pandoc/Writers/S5.hs are no longer built in Setup.hs from templates in the templates/ directory. + Instead, they use template haskell to read data at compile time from the relevant files in data/. + Setup.hs is back to the default simple configuration. + Removed old templates and Extra-Tmp-Files field from pandoc.cabal.fiddlosopher 8440385Compatibility fixes for CPP, Cabal, and haddock: + Use CPP in "Extensions" field in pandoc.cabal. + Removed use of backslash string continuations in source files.fiddlosopher 283c241Setup.hs: Use simpleUserHooks rather than deprecated defaultUserHooks.fiddlosopher 40e7280Simplified Setup.hs by removing PostClean hooks. Added Extra-Tmp-Files to pandoc.cabal; this does the same thing.fiddlosopher 2751608Use CPP to simplify build procedure for Highlighting.hs module. This is no longer built by Setup.hs in the pre-configure phase.fiddlosopher 868aeacRenamed default headers with .header extension; have Setup.hs look for these. (This fixes a bug where Setup.hs would find .svn directories.)fiddlosopher 04b3245Added build option for syntax highlighting, with *optional* dependency on highlighting-kate. + pandoc.cabal includes a flag, 'highlighting', that causes a dependency on highlighting-kate. + if Setup.hs detects this dependency, it copies templates/Highlighting.yes.hs to Text/Pandoc/Highlighting.hs. Otherwise, it copies templates/Highlighting.no.hs. + The HTML writer imports this new module instead of Text.Highlighting.Kate. The new module exports highlightHtml, which either uses highlighting-kate to perform syntax highlighting or automatically returns a failure code, depending on whether highlighting support was selected. + --version now prints information about whether syntax highlighting support is compiled in.fiddlosopher 427c2e4Modified Setup.hs with new location for DefaultHeaders.hs. Print template notice on top of autogenerated source files.fiddlosopher 087739aMoved Text.Pandoc.Writers.DefaultHeaders -> Text.Pandoc.DefaultHeaders.fiddlosopher 446a964Incorporated templates phase into Setup.hs and improved templates. + Removed templates/Makefile and fillTemplates.pl. + Removed 'templates' Makefile target. + Added postConf hook to Setup.hs that fills the templates. + Use compressed javascripts for S5 and ASCIIMathML templates. + Revised test suite.fiddlosopher 1142c88* The previous fix was wrong. Apply a proper fix and cross the fingers. :-) + On configure, compile 'Setup.hs' to 'setup' and use 'setup' as the build command instead of 'runhaskell', which, on some platforms (such as s390, alpha, m68k), throws the following error: runhaskell Setup.hs configure --prefix=/usr ghc-6.6.1: not built for interactive use This causes a serious FTBFS bug. Closes: #440668 (from Debian BTS). + Setup.hs: revert changes.roktas b13e696* Urgent fix to address the following issue: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440668 The below link of a similar bug explains things a bit more: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=431843#22roktas 156be8bMerge trunk with ghc66-branch.roktas df7b682initial importfiddlosopher