summaryrefslogtreecommitdiff
path: root/windows/make-windows-installer.bat
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-01-17 00:37:44 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-01-17 00:37:44 +0000
commit7cf373dd8877189d8b8ccfc4c67738862e1f9a57 (patch)
tree52e962f327f662181981dabb8bfe028b3cc5c55a /windows/make-windows-installer.bat
parent811ef9a0b847d9c7680f65980186fa18b8d72b21 (diff)
New batch file to make-windows-installer.
+ Removed old Makefile.windows + Added make-windows-installer.bat + Modified default installer name in pandoc-setup.iss git-svn-id: https://pandoc.googlecode.com/svn/trunk@1815 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'windows/make-windows-installer.bat')
-rw-r--r--windows/make-windows-installer.bat15
1 files changed, 15 insertions, 0 deletions
diff --git a/windows/make-windows-installer.bat b/windows/make-windows-installer.bat
new file mode 100644
index 000000000..2dffc6967
--- /dev/null
+++ b/windows/make-windows-installer.bat
@@ -0,0 +1,15 @@
+@echo off
+cd ..
+cabal clean
+rem note: we use -f-library in building pandoc, because
+rem if the library is built, the data file paths will not be relocatable!
+cabal configure -f-library -fwrappers -fhighlighting --datasubdir=
+cabal build
+strip dist\build\pandoc\pandoc.exe
+strip dist\build\hsmarkdown\hsmarkdown.exe
+strip dist\build\markdown2pdf\markdown2pdf.exe
+dist\build\pandoc\pandoc.exe -s --template templates\html.template -S README -o README.html
+copy COPYING COPYING.txt
+copy COPYRIGHT COPYRIGHT.txt
+cd windows
+ISCC pandoc-setup.iss