Added section in INSTALL on creating relocatable binary on windows.
This commit is contained in:
parent
ddd3e067d2
commit
b307b647ff
1 changed files with 31 additions and 0 deletions
31
INSTALL
31
INSTALL
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue