13a262af6a
Resolves Issue #197. + Moved windows/makefile to Makefile.windows + Minor fixes in Makefile.windows + Use globbing to simplify pandoc-setup.iss + Put binaries in bin/ subdirectory of install dir + Specify null datafile subdirectory, so that data files go right in install dir, rather than in {installdir}/pandoc-{version}. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1798 788f1e2b-df1e-0410-8736-df70ead52e1b
17 lines
626 B
Text
17 lines
626 B
Text
# '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
|
|
|