git.iko.soy/typeable/pandoc
on d0879bc help sign in
typeable/pandoc/Makefile.windows
17 lines 626 B history raw
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!
6.PHONY: prep
7prep:
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