[PATCH 1/6] Fix "make install" on Windows with srcdir != builddir
Thiago Macieira
thiago at macieira.org
Wed Nov 27 17:42:45 UTC 2013
Signed-off-by: Thiago Macieira <thiago at macieira.org>
---
subsurface-install.pri | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/subsurface-install.pri b/subsurface-install.pri
index 59690f2..4b06e17 100644
--- a/subsurface-install.pri
+++ b/subsurface-install.pri
@@ -42,8 +42,8 @@ mac {
# which libs we need.
# The only target is "make install", which copies everything into packaging/windows
WINDOWSSTAGING = packaging/windows
- NSIFILE = $$WINDOWSSTAGING/subsurface.nsi
- NSIINPUTFILE = $$WINDOWSSTAGING/subsurface.nsi.in
+ NSIFILE = $$PWD/$$WINDOWSSTAGING/subsurface.nsi
+ NSIINPUTFILE = $$PWD/$$WINDOWSSTAGING/subsurface.nsi.in
MAKENSIS = /usr/bin/makensis
deploy.path = $$WINDOWSSTAGING
@@ -65,8 +65,8 @@ mac {
dlls.commands += perl $$PWD/scripts/win-ldd.pl
# equals(QMAKE_HOST.os, "Windows"): EXE_SUFFIX = .exe
EXE_SUFFIX = .exe
- CONFIG(debug, debug|release): dlls.commands += $$PWD/debug/subsurface$$EXE_SUFFIX
- else: dlls.commands += $$PWD/release/$$TARGET$$EXE_SUFFIX
+ CONFIG(debug, debug|release): dlls.commands += $$OUT_PWD/debug/subsurface$$EXE_SUFFIX
+ else: dlls.commands += $$OUT_PWD/release/$$TARGET$$EXE_SUFFIX
for(plugin, $$list($$DEPLOYMENT_PLUGIN)) {
CONFIG(debug, debug|release): dlls.depends += $$[QT_INSTALL_PLUGINS]/$${plugin}d4.dll
--
1.7.11.7
More information about the subsurface
mailing list