diff options
Diffstat (limited to 'Makefile.windows')
| -rw-r--r-- | Makefile.windows | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile.windows b/Makefile.windows new file mode 100644 index 000000000..81da1cc4d --- /dev/null +++ b/Makefile.windows @@ -0,0 +1,17 @@ +# '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
+
|
