aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
AgeCommit message (Collapse)AuthorFilesLines
2015-07-05Make cabal require hsb2hs >= 0.3.1.John MacFarlane1-1/+1
This is done by adding `hookedPrograms` in `Setup.hs`, which allows us to include `hsb2hs` in Build-Tools in cabal.
2015-07-02Added pandoc.1 to repository. Don't build as part of cabal build.John MacFarlane1-5/+5
The process was too fragile. It made too many assumptions about available libraries (which failed sometimes when sandboxes were used). This is a low-tech solution. The only drawback is that `man/pandoc.1` is a generated file in the repository. It will need to be regenerated periodically when README changes.
2015-07-01Install man pages as part of cabal 'copy' phase.John MacFarlane1-10/+5
2015-07-01Generate man page in cabal build process and include in data/.John MacFarlane1-1/+1
The pandoc.1 man page is generated automatically after the cabal build process. It goes in `data/pandoc.1`. It can be obtained by the user who installs pandoc via cabal thus: pandoc --print-default-data-file pandoc.1 > pandoc.1
2015-07-01New method for building man pages.John MacFarlane1-4/+2
+ Removed `--man1`, `--man5` options (breaking change). + Removed `Text.Pandoc.ManPages` module (breaking API change). + Version bump to 1.15 because of the breaking changes, even though they involve features that have only been in pandoc for a day. + Makefile target for `man/man1/pandoc.1`. This uses pandoc to create the man page from README using a custom template and filters. + Added `man/` directory with template and filters needed to build man page. + We no longer have two man pages: pandoc.1 and pandoc_markdown.5. Now there is just pandoc.1, which has all the content from README. This change was needed because of the extensive cross-references between parts of the README. + Removed old `data/pandoc.1.template` and `data/pandoc_markdown.5.template`.
2015-06-28New method for producing man pages.John MacFarlane1-1/+5
This change adds `--man1` and `--man5` options to pandoc, so pandoc can generate its own man pages. It removes the old overly complex method of building a separate executable (but not installing it) just to create the man pages. The man pages are no longer automatically created in the build process. The man/ directory has been removed. The man page templates have been moved to data/. New unexported module: Text.Pandoc.ManPages. Text.Pandoc.Data now exports readmeFile, and `readDataFile` knows how to find README. Closes #2190.
2015-05-28Updated INSTALL.John MacFarlane1-4/+2
2015-05-28Updated INSTALL on `embed_data_files`.John MacFarlane1-3/+4
2015-04-02Improved INSTALL instructions.John MacFarlane1-3/+7
2015-04-02Added INSTALL instructions about older cabal versions.John MacFarlane1-0/+5
IT may be necessary to update cabal, since older versions don't take into account the (new) possibility of changed metadata on Hackage.
2015-03-28Always build man pages. Removed make-pandoc-man-pages flag.John MacFarlane1-6/+1
Updated INSTALL instructions. Makefile: removed man target, now that we generate man pages by default.
2014-12-07Updated INSTALL on building man pages.John MacFarlane1-6/+15
Closes #1788.
2014-06-18Removed old haddock reader code. Add dependency on haddock-library.John MacFarlane1-5/+1
This also removes the dependency on alex and happy.
2014-05-18Removed dependency on conduit.John MacFarlane1-3/+2
* http-conduit flag is now https. * Instead of http-conduit, we depend on http-client and http-client-tls.
2013-09-19Added something on unicode_collation to INSTALL.John MacFarlane1-0/+16
2013-08-31INSTALL: Added instructions for pandoc-citeproc.John MacFarlane1-0/+6
2013-08-15Improved INSTALL instructions:John MacFarlane1-1/+4
* Note binary package for OSX. * Added URL of github wiki page on installing the dev version.
2013-08-08Improved INSTALL instructions.John MacFarlane1-23/+43
2013-07-20Added info about CABALDIR.John MacFarlane1-0/+2
Modified from a patch by achalddave.
2013-03-20Updated instructions for submodules to avoid confusion.Jamie F. Olson1-1/+1
2013-01-23Use hsb2hs preprocessor instead of TH for embed_data_files.John MacFarlane1-0/+1
This should work on Windows, unlike the TH solution with file-embed.
2012-12-29Updated INSTALL with new flags.John MacFarlane1-37/+12
2012-07-26Updated INSTALL for new test/benchmarks.John MacFarlane1-5/+29
2012-05-24Add support for Slideous output.Jonas Smedegaard1-0/+1
2012-04-27Updated INSTALL instructions for tests.John MacFarlane1-11/+17
2012-04-17Textile reader quick clean-up and added support for LaTeX blocks and inlines.paul.rivier1-0/+22
2012-02-10Added section in INSTALL on creating relocatable binary on windows.John MacFarlane1-0/+31
2012-01-20Removed obsolete flag info in INSTALL.John MacFarlane1-4/+1
2011-12-22Removed highlighting flag. Highlighting support is now standard.John MacFarlane1-16/+2
2011-08-19ADded note in INSTALL about a workaround for OSX.John MacFarlane1-0/+9
2010-11-23Removed citeproc flag and CPP conditionals.John MacFarlane1-21/+0
2010-07-21Reintroduced 'library' cabal flag.John MacFarlane1-0/+1
It is needed for the Windows installer, since if a library is produced, the binary can't be made relocatable. See http://www.haskell.org/ghc/docs/6.12.2/html/Cabal/builders.html section 4.1.2.3.
2010-04-10Removed 'library' Cabal flag.John MacFarlane1-6/+6
Reason: starting with Cabal 1.8, installing pandoc with '-library +executable' did not work, since the build-depends in the Library stanza were ignored. The problem could be solved by repeating the build-depends in the Executable stanza, but this seems non-ideal (and might lead to errors later on). The '-library' option isn't so useful anyway, since to compile pandoc in the first place, you need a large number of Haskell libraries installed, and in this case, why balk at another? It was chiefly intended for packagers, but packagers will need to use a chroot environment anyway, and they can then simply copy the executable and not the library. Thanks to Jim Pryor for calling the problem to my attention in connection with an arch linux package.
2010-02-04Tweaked INSTALL instructions.fiddlosopher1-0/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1833 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-02-03Updated INSTALL instructions.fiddlosopher1-276/+66
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1832 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-14INSTALL: Updated description of Arch linux packages.fiddlosopher1-2/+5
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1451 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-14INSTALL - added note on quick Mac OSX install method, using cabal install.fiddlosopher1-0/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1450 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-13INSTALL: Documented citeproc-hs support.fiddlosopher1-0/+26
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1444 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12More minor changes to INSTALL instructions.fiddlosopher1-18/+10
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1443 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12Small updates to INSTALL.fiddlosopher1-3/+7
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1442 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12Added to INSTALL instructions on installing cabal-install w/ macports.fiddlosopher1-1/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1439 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-06Pandoc is no longer a native debian package.fiddlosopher1-1/+0
It is easier for releases if debian packaging is separate. + Removed debian directory and references to debian in Makefile and INSTALL. + Made COPYRIGHT and changelog standalone files rather than symlinks to debian directory. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1422 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-06Updated INSTALL in light of new dependencies (utf8-string and zip-archive).fiddlosopher1-2/+36
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1421 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-14Simplified and improved UTF8 handling:fiddlosopher1-5/+0
+ Removed utf8-string cabal configuration flag. + Instead, we just include System.IO.UTF8 and Codec.Binary.UTF8.String from utf8-string package in the source tree, avoiding a dependency on utf8-string and avoiding crufty custom UTF8 code. (The old Text.Pandoc.UTF8 had problems with the getContents function.) + Removed lots of CPP directives that are no longer needed. + In Setup.hs, use '-i..' in running RunTests.hs, so the local UTF8 code will be found. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1411 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-10Removed markdown2pdf and all references to it.fiddlosopher1-2/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1395 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-08Added Text.Pandoc.UTF8 as a backup for when utf8-string is not present.fiddlosopher1-63/+47
+ Added Text.Pandoc.UTF8 + Changed flag name from utf8 to utf8-string + Changed CPP MACRO from _UTF8 to _UTF8STRING + Import IO functions from Text.Pandoc.UTF8 when utf8-string not available. + Removed utf8-string dependency from debian/control. + Removed pandoc.cabal.ghc66; we no longer support GHC 6.6 + Modified INSTALL instructions git-svn-id: https://pandoc.googlecode.com/svn/trunk@1383 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-02INSTALL: Included instructions on installing utf8-string.fiddlosopher1-3/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1371 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Added note on utf8-string dependency to INSTALL.fiddlosopher1-1/+5
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1353 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-31Added 'library' and 'executable' configuration flags.fiddlosopher1-0/+7
Cabal can now be told to build just the library or just the executable. Updated INSTALL accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1346 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-10Added note to INSTALL that Cabal >= 1.2 is required for build.fiddlosopher1-6/+12
Resolves Issue #74. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1296 788f1e2b-df1e-0410-8736-df70ead52e1b