From 8f6c27920d69c8a77ec0ff341ece81194e39bb4e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 5 Sep 2013 09:22:37 -0700 Subject: Preliminary changes to windows installer script. --- windows/make-windows-installer.bat | 8 ++++++-- windows/pandoc.wxs | 11 +++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) 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" /> + + + + + + + -- cgit v1.2.3