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
This commit is contained in:
parent
811ef9a0b8
commit
7cf373dd88
3 changed files with 16 additions and 18 deletions
|
@ -1,17 +0,0 @@
|
|||
# 'mingw32-make -f Makefile.windows prep'
|
||||
# prepares for building the Inno Setup installer
|
||||
# note: we use -f-library in building pandoc, because
|
||||
# if the library is built, the data file paths will not be relocatable!
|
||||
|
||||
.PHONY: prep
|
||||
prep:
|
||||
cabal clean
|
||||
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
|
||||
|
15
windows/make-windows-installer.bat
Normal file
15
windows/make-windows-installer.bat
Normal file
|
@ -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
|
|
@ -16,7 +16,7 @@ DefaultDirName={code:DefDirRoot}\Pandoc
|
|||
DefaultGroupName=Pandoc
|
||||
AllowNoIcons=yes
|
||||
LicenseFile="..\COPYING.txt"
|
||||
OutputBaseFilename=setup
|
||||
OutputBaseFilename=pandoc-setup
|
||||
Compression=lzma
|
||||
SolidCompression=yes
|
||||
ChangesEnvironment=yes
|
||||
|
|
Loading…
Add table
Reference in a new issue