mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-15 10:08:29 +01:00
Test
This commit is contained in:
parent
4cb4b7687c
commit
3ae276c776
@ -52,9 +52,12 @@ unix: LIBS += -L$$OUT_PWD/../librssguard/ -lrssguard
|
|||||||
|
|
||||||
# Prepare files for NSIS.
|
# Prepare files for NSIS.
|
||||||
SEDREPLACE = "s|@APP_VERSION@|$$APP_VERSION|g; s|@APP_WIN_ARCH@|$$APP_WIN_ARCH|g; s|@APP_REVISION@|$$APP_REVISION|g; s|@APP_NAME@|$$APP_NAME|g; s|@APP_LOW_NAME@|$$APP_LOW_NAME|g; s|@EXE_NAME@|$${APP_LOW_NAME}.exe|g; s|@PWD@|$$replace(PWD, /, \\\\)|g; s|@OUT_PWD@|$$replace(OUT_PWD, /, \\\\)|g"
|
SEDREPLACE = "s|@APP_VERSION@|$$APP_VERSION|g; s|@APP_WIN_ARCH@|$$APP_WIN_ARCH|g; s|@APP_REVISION@|$$APP_REVISION|g; s|@APP_NAME@|$$APP_NAME|g; s|@APP_LOW_NAME@|$$APP_LOW_NAME|g; s|@EXE_NAME@|$${APP_LOW_NAME}.exe|g; s|@PWD@|$$replace(PWD, /, \\\\)|g; s|@OUT_PWD@|$$replace(OUT_PWD, /, \\\\)|g"
|
||||||
message($$MSG_PREFIX: Sed replace string: \"$$SEDREPLACE\".)
|
message($$MSG_PREFIX: Sed replace string: \"$$SEDREPLACE\")
|
||||||
|
|
||||||
system($$shell_path($$shell_quote($$PWD/../../resources/scripts/sed/sed.exe)) -e \"$$SEDREPLACE\" $$system_path($$system_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.in)) > \"$$OUT_PWD\NSIS.definitions.nsh\")
|
FULLSEDCMD = "$$shell_path($$shell_quote($$PWD/../../resources/scripts/sed/sed.exe)) -e \"$$SEDREPLACE\" \"$$system_path($$system_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.in))\" > \"$$system_path($$system_quote($$OUT_PWD\NSIS.definitions.nsh))\""
|
||||||
|
message($$MSG_PREFIX: Full sed command: $$FULLSEDCMD)
|
||||||
|
|
||||||
|
#system()
|
||||||
system(xcopy /Y $$shell_path($$shell_quote($$PWD/../../resources/nsis/NSIS.template.in)) $$shell_path($$shell_quote($$OUT_PWD/)))
|
system(xcopy /Y $$shell_path($$shell_quote($$PWD/../../resources/nsis/NSIS.template.in)) $$shell_path($$shell_quote($$OUT_PWD/)))
|
||||||
|
|
||||||
include(../../pri/install.pri)
|
include(../../pri/install.pri)
|
||||||
|
Loading…
Reference in New Issue
Block a user