From 4a841bfc5464907adea4cdd655485565565b40ae Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sat, 3 Nov 2007 22:14:03 +0000 Subject: Use template haskell to avoid the need for templates: + Added library Text.Pandoc.Include, with a template haskell function $(includeStrFrom fname) to include a file as a string constant at compile time. + This removes the need for the 'templates' directory or Makefile target. These have been removed. + The base source directory has been changed from src to . + A new 'data' directory has been added, containing the ASCIIMathML.js script, writer headers, and S5 files. + The src/wrappers directory has been moved to 'wrappers'. + The Text.Pandoc.ASCIIMathML library is no longer needed, since Text.Pandoc.Writers.HTML can use includeStrFrom to include the ASCIIMathML.js code directly. It has been removed. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1063 788f1e2b-df1e-0410-8736-df70ead52e1b --- INSTALL | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 064c01dc3..8e71a06e3 100644 --- a/INSTALL +++ b/INSTALL @@ -107,15 +107,12 @@ but are documented here for packagers and developers: * `configure`: Performs the needed preprocessing to create a proper Cabal package for Pandoc: - - Builds `ASCIIMathML.hs`, `DefaultHeaders.hs`, and `S5.hs` - from templates in `src/templates` and data in `src/ASCIIMathML.js`, - `src/ui`, and `src/headers`. - Stores values of relevant environment variables in `vars` for persistence. - Runs Cabal's "configure" command. * `build-exec`: Builds `pandoc` executable (using Cabal's "build" command) and creates the wrappers `html2markdown` and `markdown2pdf` - from templates in `src/wrappers`. + from templates in `wrappers`. * `build-doc`: Builds program documentation (e.g. `README.html`). * `build-lib-doc`: Builds Haddock documentation for Pandoc libraries. * `install-doc`, `uninstall-doc`: Installs/uninstalls user documentation -- cgit v1.2.3