summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-05-28 11:20:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-05-28 11:20:05 -0700
commit9b19ae569482e9df7a97c86da80320497f43e8e0 (patch)
treea410abea15541a5bdd66bc546ce351e4a50c0275 /windows
parent3b2ca81b8dfa3843646a6ada7951896f95337b1d (diff)
Ensure that docx and odt are built in windows installer.
Closes #2187.
Diffstat (limited to 'windows')
-rw-r--r--windows/make-windows-installer.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/windows/make-windows-installer.bat b/windows/make-windows-installer.bat
index d4816fa69..5e574c9db 100644
--- a/windows/make-windows-installer.bat
+++ b/windows/make-windows-installer.bat
@@ -5,6 +5,9 @@ cabal sandbox init
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"
+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%
strip .\.cabal-sandbox\bin\pandoc.exe