Modified windows installer generater to use cabal-dev.
This commit is contained in:
parent
42e5b7bd3a
commit
858844556a
2 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue