diff options
-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 |