git.iko.soy/typeable/pandoc
on master help sign in
Modified windows installer generater to use cabal-dev.
8588445John MacFarlane
windows/make-windows-installer.bat+6−6
@@ -1,13 +1,13 @@
1@echo off
1@echo off
2cd ..
2cd ..
3−cabal clean
3+cabal-dev install --disable-library-for-ghci highlighting-kate
4+cabal-dev install --flags="embed_data_files" citeproc-hs
5+cabal-dev install --flags="executable wrappers -library highlighting" --datasubdir=
4rem note: we use -f-library in building pandoc, because
6rem note: we use -f-library in building pandoc, because
5rem if the library is built, the data file paths will not be relocatable!
7rem 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
8+strip cabal-dev\bin\pandoc.exe
9−strip dist\build\markdown2pdf\markdown2pdf.exe
9+strip cabal-dev\bin\markdown2pdf.exe
10−dist\build\pandoc\pandoc.exe -s --template templates\html.template -S README -o README.html
10+cabal-dev\bin\pandoc.exe -s --template templates\html.template -S README -o README.html
11copy COPYING COPYING.txt
11copy COPYING COPYING.txt
12copy COPYRIGHT COPYRIGHT.txt
12copy COPYRIGHT COPYRIGHT.txt
13cd windows
13cd windows
windows/pandoc-setup.iss+2−2
@@ -53,8 +53,8 @@ end;
53Name: "english"; MessagesFile: "compiler:Default.isl"
53Name: "english"; MessagesFile: "compiler:Default.isl"
54
54
55[Files]
55[Files]
56−Source: "..\dist\build\pandoc\pandoc.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
56+Source: "..\cabal-dev\bin\pandoc.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
57−Source: "..\dist\build\markdown2pdf\markdown2pdf.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
57+Source: "..\cabal-dev\bin\markdown2pdf.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
58Source: "..\README.html"; DestDir: "{app}"; Flags: ignoreversion
58Source: "..\README.html"; DestDir: "{app}"; Flags: ignoreversion
59Source: "..\COPYRIGHT.txt"; DestDir: "{app}"; Flags: ignoreversion
59Source: "..\COPYRIGHT.txt"; DestDir: "{app}"; Flags: ignoreversion
60Source: "..\COPYING.txt"; DestDir: "{app}"; Flags: ignoreversion
60Source: "..\COPYING.txt"; DestDir: "{app}"; Flags: ignoreversion