diff --git a/windows/make-windows-installer.bat b/windows/make-windows-installer.bat index 998da6775..a948a1a9f 100644 --- a/windows/make-windows-installer.bat +++ b/windows/make-windows-installer.bat @@ -1,9 +1,13 @@ @echo off cd .. -rem cabal update +cabal update cabal-dev clean if %errorlevel% neq 0 exit /b %errorlevel% -cabal-dev install --reinstall --force-reinstall --flags="embed_data_files" +cabal-dev add-source ../pandoc-types +cabal-dev add-source ../pandoc-citeproc +cabal-dev install hsb2hs +cabal-dev install --reinstall --flags="embed_data_files unicode_collation" --extra-lib-dirs=../icu/lib --extra-include-dirs=../icu/include pandoc-citeproc +cabal-dev install --reinstall --flags="embed_data_files" if %errorlevel% neq 0 exit /b %errorlevel% strip cabal-dev\bin\pandoc.exe cabal-dev\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html diff --git a/windows/pandoc.wxs b/windows/pandoc.wxs index 85edd29a8..2c87e41e9 100644 --- a/windows/pandoc.wxs +++ b/windows/pandoc.wxs @@ -51,6 +51,17 @@ Source="..\COPYING.rtf" /> + + + + + + +