git.iko.soy/typeable/pandoc
on master help sign in
Modified windows installer generater to use cabal-dev.
commit858844556a1eed5fa8cd2ef631d4ec4703335856 authorJohn MacFarlane <fiddlosopher@gmail.com> dateMon 24 Oct 2011, 00:05 (15 years ago) parent42e5b7b
2 files changed+8−8
windows/make-windows-installer.bat+6−6 windows/pandoc-setup.iss+2−2
windows/make-windows-installer.bat+6−6
@@ -1,13 +1,13 @@
11@echo off
22cd ..
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=
46rem note: we use -f-library in building pandoc, because
57rem 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
9−strip dist\build\markdown2pdf\markdown2pdf.exe
10−dist\build\pandoc\pandoc.exe -s --template templates\html.template -S README -o README.html
8+strip cabal-dev\bin\pandoc.exe
9+strip cabal-dev\bin\markdown2pdf.exe
10+cabal-dev\bin\pandoc.exe -s --template templates\html.template -S README -o README.html
1111copy COPYING COPYING.txt
1212copy COPYRIGHT COPYRIGHT.txt
1313cd windows
windows/pandoc-setup.iss+2−2
@@ -53,8 +53,8 @@ end;
5353Name: "english"; MessagesFile: "compiler:Default.isl"
5454
5555[Files]
56−Source: "..\dist\build\pandoc\pandoc.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
57−Source: "..\dist\build\markdown2pdf\markdown2pdf.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
56+Source: "..\cabal-dev\bin\pandoc.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
57+Source: "..\cabal-dev\bin\markdown2pdf.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
5858Source: "..\README.html"; DestDir: "{app}"; Flags: ignoreversion
5959Source: "..\COPYRIGHT.txt"; DestDir: "{app}"; Flags: ignoreversion
6060Source: "..\COPYING.txt"; DestDir: "{app}"; Flags: ignoreversion