diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-02-10 13:19:46 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-02-10 13:19:46 -0800 |
commit | b307b647ffec1f3052ad07451acc0a5c856cf86d (patch) | |
tree | 2249624faa0d7e7bf343169bfd96abfe15d5c213 /INSTALL | |
parent | ddd3e067d2a7b09f6d47a1c6668b6c55c162c79c (diff) |
Added section in INSTALL on creating relocatable binary on windows.
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -94,6 +94,37 @@ you will need [zip-archive], [blaze-html], and [highlighting-kate]. generate a script that can be run to register the package at install time. +Creating a relocatable Windows binary +------------------------------------- + +On Windows it is possible to compile pandoc such that it +(and its data files) are "relocatable." You can put the relocatable +binary in any directory (even on a USB drive), and it will look for its +data files there. + + cabal install --flags="embed_data_files" citeproc-hs + cabal install --flags="executable -library" --datasubdir= + +You can find `pandoc.exe` in `dist/build/pandoc`. Copy this wherever +you please, and copy the following data files to the same place: + + README + COPYRIGHT + COPYING + reference.odt + reference.docx + epub.css + default.csl + templates/ + data/ + s5/ + slidy/ + dzslides/ + pcre-license.txt + pcre3.dll + +This is essentially what the binary installer does. + [zip-archive]: http://hackage.haskell.org/package/zip-archive [highlighting-kate]: http://hackage.haskell.org/package/highlighting-kate [blaze-html]: http://hackage.haskell.org/package/blaze-html |