From ff2a58c006c5703e81fb27e7ec8889e60cdb8934 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Wed, 6 Jan 2021 08:31:17 +0100 Subject: [PATCH] Test --- src/rssguard/rssguard.pro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/rssguard/rssguard.pro b/src/rssguard/rssguard.pro index 941a73d41..f3f35b068 100644 --- a/src/rssguard/rssguard.pro +++ b/src/rssguard/rssguard.pro @@ -28,6 +28,7 @@ isEmpty(PREFIX) { include(../../pri/defs.pri) +message($$MSG_PREFIX: Current directory \"$$PWD\".) message($$MSG_PREFIX: Shadow copy build directory \"$$OUT_PWD\".) message($$MSG_PREFIX: $$APP_NAME version is: \"$$APP_VERSION\".) message($$MSG_PREFIX: Detected Qt version: \"$$QT_VERSION\".) @@ -50,7 +51,10 @@ win32: LIBS += -L$$OUT_PWD/../librssguard/ -llibrssguard unix: LIBS += -L$$OUT_PWD/../librssguard/ -lrssguard # Prepare files for NSIS. -system($$shell_path($$shell_quote($$PWD/../../resources/scripts/sed/sed.exe)) -e \"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\" $$shell_path($$shell_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.in)) > $$shell_path($$shell_quote($$OUT_PWD/NSIS.definitions.nsh))) -system(xcopy /Y $$shell_path($$shell_quote($$PWD/../../resources/nsis/NSIS.template.in)) $$shell_path($$shell_quote($$OUT_PWD/))) + +system($$shell_path($$shell_quote($$PWD/../../resources/scripts/sed/sed.exe))) + +#system($$shell_path($$shell_quote($$PWD/../../resources/scripts/sed/sed.exe)) -e \"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\" $$shell_path($$shell_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.in)) > $$shell_path($$shell_quote($$OUT_PWD/NSIS.definitions.nsh))) +#system(xcopy /Y $$shell_path($$shell_quote($$PWD/../../resources/nsis/NSIS.template.in)) $$shell_path($$shell_quote($$OUT_PWD/))) include(../../pri/install.pri)