summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-05-28 11:38:31 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-05-28 11:38:31 -0700
commitf5087d84a19380bb08cdcba365cc9fadff9adc41 (patch)
tree58d50b8efa2cf50616eec946f3f21eee862b6977 /windows
parent009bee687faf045ad60bdc2b283615c58545d446 (diff)
More fixes to make-windows-installer for #2187.
Diffstat (limited to 'windows')
-rw-r--r--windows/make-windows-installer.bat3
1 files changed, 2 insertions, 1 deletions
diff --git a/windows/make-windows-installer.bat b/windows/make-windows-installer.bat
index 5e574c9db..5b0e7f567 100644
--- a/windows/make-windows-installer.bat
+++ b/windows/make-windows-installer.bat
@@ -6,7 +6,8 @@ cabal clean
cabal install hsb2hs
if %errorlevel% neq 0 exit /b %errorlevel%
REM We do it once to regenrate data/reference.docx/odt
-cabal install -v1 --force --reinstall --flags="embed_data_files"
+cabal install -v1 --force --reinstall
+cabal clean
REM then again for real, because otherwise it won't work with embed_data_files:
cabal install -v1 --force --reinstall --flags="embed_data_files" . pandoc-citeproc
if %errorlevel% neq 0 exit /b %errorlevel%