pandoc/windows/make-windows-installer.bat
John MacFarlane 80f9619948 Have windows installer make man page first.
In cabal-dev, makemanpage fails.
2012-06-03 13:06:43 -07:00

16 lines
616 B
Batchfile

@echo off
cd ..
ghc --make MakeManPage
MakeManPage.exe
cabal update
cabal-dev install --disable-library-for-ghci highlighting-kate
cabal-dev install --flags="embed_data_files" citeproc-hs
cabal-dev install --flags="executable -library blaze_html_0_5" --datasubdir=
rem note: we use -f-library in building pandoc, because
rem if the library is built, the data file paths will not be relocatable!
strip cabal-dev\bin\pandoc.exe
cabal-dev\bin\pandoc.exe -s --template templates\default.html -S README -o README.html
copy COPYING COPYING.txt
copy COPYRIGHT COPYRIGHT.txt
cd windows
ISCC pandoc-setup.iss