aboutsummaryrefslogtreecommitdiff
path: root/cabalize
AgeCommit message (Collapse)AuthorFilesLines
2007-02-26Modified HTML writer to use the Text.XHtml library. This resultsfiddlosopher1-1/+1
in cleaner, faster code, and it makes it easier to use Pandoc in other projects, like wikis, that use Text.XHtml. Two functions are now provided, writeHtml and writeHtmlString: the former outputs an Html structure, the latter a rendered string. The S5 writer is also changed, in parallel ways (writeS5, writeS5String). The Html header is now written programmatically, so it has been removed from the 'headers' directory. The S5 header is still needed, but the doctype and some of the meta declarations have been removed, since they are written programatically. The INSTALL file and cabalize have been updated to reflect the new dependency on the xhtml package. git-svn-id: https://pandoc.googlecode.com/svn/trunk@549 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-13Reverted addition of .exe to Windows executables in cabalize.fiddlosopher1-5/+1
It seems that Cabal does not expect these extensions. Better to handle this in the Makefile. git-svn-id: https://pandoc.googlecode.com/svn/trunk@191 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-13In cabalize, add '.exe' extension to executables if we're onfiddlosopher1-1/+5
Windows/Cygwin. git-svn-id: https://pandoc.googlecode.com/svn/trunk@190 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-12-12Extract version number from src/Main.hs in cabalize and Makefile.fiddlosopher1-1/+4
The authoritative version number is now in src/Main.hs, with no duplication. (This seems a better solution than building Main.hs from a template.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@182 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-11-03Older Cabal versions have no '--destdir' option. Detect the availability roktas1-0/+1
of this option and fallback to '--copy-prefix' (which is now deprecated, as of GHC 6.6). Add a short comment to cabalize. git-svn-id: https://pandoc.googlecode.com/svn/trunk@72 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-11-02Changes related to osx packaging:fiddlosopher1-1/+1
+ Simplified osx-dmg target, which need not be built as root. + Made osx-pkg and osx-pkg-prep non-.PHONY, plus a few other minor changes to make the dependencies work correctly. + Removed \< from the sed regex in cabalize; this is not support in BSD sed. + Changed path information in osx/Welcome and message in uninstall-pandoc. git-svn-id: https://pandoc.googlecode.com/svn/trunk@67 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-10-30Really fix cabal version detection.roktas1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@43 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-10-30* cabalize: fix cabal version detection by using a bloody hack.roktas1-2/+3
* Makefile: + Make 'uninstall-all' depends on 'uninstall-exec'. + Make the default target 'all' depends on $(BINS). Now, invoking a plain 'make' builds and creates pandoc in the top directory. git-svn-id: https://pandoc.googlecode.com/svn/trunk@39 788f1e2b-df1e-0410-8736-df70ead52e1b
2006-10-28Merge trunk with ghc66-branch.roktas1-0/+39
git-svn-id: https://pandoc.googlecode.com/svn/trunk@28 788f1e2b-df1e-0410-8736-df70ead52e1b