diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-10-24 00:05:08 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-10-24 00:05:08 -0700 |
commit | 858844556a1eed5fa8cd2ef631d4ec4703335856 (patch) | |
tree | c3a7ccf8d3c244e6e0e1f67d4082a50dacfa6f4c /windows | |
parent | 42e5b7bd3af9a374f91478b01178660c026023b3 (diff) | |
download | pandoc-858844556a1eed5fa8cd2ef631d4ec4703335856.tar.gz |
Modified windows installer generater to use cabal-dev.
Diffstat (limited to 'windows')
-rw-r--r-- | windows/make-windows-installer.bat | 12 | ||||
-rw-r--r-- | windows/pandoc-setup.iss | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/windows/make-windows-installer.bat b/windows/make-windows-installer.bat index 4c975748f..341dfd948 100644 --- a/windows/make-windows-installer.bat +++ b/windows/make-windows-installer.bat @@ -1,13 +1,13 @@ @echo off
cd ..
-cabal clean
+cabal-dev install --disable-library-for-ghci highlighting-kate
+cabal-dev install --flags="embed_data_files" citeproc-hs
+cabal-dev install --flags="executable wrappers -library highlighting" --datasubdir=
rem note: we use -f-library in building pandoc, because
rem if the library is built, the data file paths will not be relocatable!
-cabal configure -f-library -fwrappers -fhighlighting --datasubdir=
-cabal build
-strip dist\build\pandoc\pandoc.exe
-strip dist\build\markdown2pdf\markdown2pdf.exe
-dist\build\pandoc\pandoc.exe -s --template templates\html.template -S README -o README.html
+strip cabal-dev\bin\pandoc.exe
+strip cabal-dev\bin\markdown2pdf.exe
+cabal-dev\bin\pandoc.exe -s --template templates\html.template -S README -o README.html
copy COPYING COPYING.txt
copy COPYRIGHT COPYRIGHT.txt
cd windows
diff --git a/windows/pandoc-setup.iss b/windows/pandoc-setup.iss index f8fd70b96..a39ef180b 100644 --- a/windows/pandoc-setup.iss +++ b/windows/pandoc-setup.iss @@ -53,8 +53,8 @@ end; Name: "english"; MessagesFile: "compiler:Default.isl"
[Files]
-Source: "..\dist\build\pandoc\pandoc.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
-Source: "..\dist\build\markdown2pdf\markdown2pdf.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
+Source: "..\cabal-dev\bin\pandoc.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
+Source: "..\cabal-dev\bin\markdown2pdf.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
Source: "..\README.html"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\COPYRIGHT.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\COPYING.txt"; DestDir: "{app}"; Flags: ignoreversion
|