git.iko.soy/typeable/pandoc
on master help sign in
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

commit7cf373dd8877189d8b8ccfc4c67738862e1f9a57 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 17 Jan 2010, 00:37 (17 years ago) parent811ef9a
3 files changed+16−18
Makefile.windows−17 windows/make-windows-installer.bat+15 windows/pandoc-setup.iss+1−1
Makefile.windowsdeleted−17
@@ -1,17 +0,0 @@
1−# 'mingw32-make -f Makefile.windows prep'
2−# prepares for building the Inno Setup installer
3−# note: we use -f-library in building pandoc, because
4−# if the library is built, the data file paths will not be relocatable!
5−
6−.PHONY: prep
7−prep:
8− cabal clean
9− cabal configure -f-library -fwrappers -fhighlighting --datasubdir=
10− cabal build
11− strip dist\build\pandoc\pandoc.exe
12− strip dist\build\hsmarkdown\hsmarkdown.exe
13− strip dist\build\markdown2pdf\markdown2pdf.exe
14− dist\build\pandoc\pandoc.exe -s --template templates\html.template -S README -o README.html
15− copy COPYING COPYING.txt
16− copy COPYRIGHT COPYRIGHT.txt
17−
windows/make-windows-installer.batnew file+15
@@ -0,0 +1,15 @@
1+@echo off
2+cd ..
3+cabal clean
4+rem note: we use -f-library in building pandoc, because
5+rem if the library is built, the data file paths will not be relocatable!
6+cabal configure -f-library -fwrappers -fhighlighting --datasubdir=
7+cabal build
8+strip dist\build\pandoc\pandoc.exe
9+strip dist\build\hsmarkdown\hsmarkdown.exe
10+strip dist\build\markdown2pdf\markdown2pdf.exe
11+dist\build\pandoc\pandoc.exe -s --template templates\html.template -S README -o README.html
12+copy COPYING COPYING.txt
13+copy COPYRIGHT COPYRIGHT.txt
14+cd windows
15+ISCC pandoc-setup.iss
windows/pandoc-setup.iss+1−1
@@ -16,7 +16,7 @@ DefaultDirName={code:DefDirRoot}\Pandoc
1616DefaultGroupName=Pandoc
1717AllowNoIcons=yes
1818LicenseFile="..\COPYING.txt"
19−OutputBaseFilename=setup
19+OutputBaseFilename=pandoc-setup
2020Compression=lzma
2121SolidCompression=yes
2222ChangesEnvironment=yes