pro file for innosetup

(cherry picked from commit ade7e25c441cc95091deb99a646799f029b71311)
This commit is contained in:
Eduard Kalinowski 2017-05-15 18:03:36 +02:00 committed by Claudio Lanconelli
parent 5ec538e446
commit 46f2e716f9
2 changed files with 11 additions and 16 deletions

View File

@ -1,14 +1,15 @@
; PonyProg2000 setup script.
; Copyright by Claudio Lanconelli 1999-2007
[Setup]
AppName=PonyProg2000
AppName={#APPNAME}
AppPublisher=LancOS
AppPublisherURL=http://www.LancOS.com/
AppUpdatesURL=http://ponyprog.sourceforge.net
AppVersion=2.08d
AppVersion={#APPVERSION}
AppVerName=PonyProg2000 v2.08d
AppCopyright=Copyright <20> 1997-2013 by Claudio Lanconelli
AppCopyright={#APPCOPYRIGHT}
DefaultDirName={pf}\PonyProg2000
DefaultGroupName=PonyProg
Compression=lzma2/max

View File

@ -319,7 +319,8 @@ CONFIG(debug, debug|release) {
# -Wall are already on the command line (where does it come from?)
QMAKE_CXXFLAGS += -std=c++11 -Wno-unused-parameter
# EK 2017
# i hope, it's right...
win32 {
isEmpty(QTDIR):QTDIR = "c:\Qt\5.8.0"
isEmpty(MINGWDIR):MINGWDIR = "C:\Qt\Qt5.8.0\Tools\mingw530_32"
@ -327,22 +328,15 @@ win32 {
win32setup.depends = make_first
win32setup.target = win32setup
win32setup.commands = \
cscript //NoLogo res\win32\sed.js \
s/@@VERSION@@/$${VERSION}/ \
s/@@QTDIR@@/$${QTDIR}/ \
s/@@MINGWDIR@@/$${MINGWDIR}/ \
< res\win32\guitone.iss.in > res\win32\guitone.iss && \
( for %%f in ($$DOCFILES) do \
cscript //NoLogo res\win32\sed.js \
s/\n\$$/\r\n/ \
< %%f > %%f.txt ) && \
\"$$ISCC\" res\win32\guitone.iss && \
( for %%f IN ($$DOCFILES) do del %%f.txt )
win32setup.commands = \"$$ISCC /DAPPNAME=$$APP_NAME \
/DAPPVERSION=$$APP_VERSION \
/DAPPCOPYRIGHT=$$APP_COPYRIGHT \
distribution\innosetup\ponyprog.iss \"
QMAKE_EXTRA_TARGETS += win32setup
}
# Install all files on Linux.
unix:!mac {
target.path = $$PREFIX/bin