1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: Felipe Sateler <fsateler@debian.org>
Date: Tue, 27 Jun 2017 21:54:42 -0400
Subject: Fix install link of fixed csoundqt name
The link should be relative, but was being generated targeting the
install directory, which might be inside the build tree if using
DESTDIR.
Forwarded: https://github.com/CsoundQt/CsoundQt/pull/240
---
qcs.pro | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qcs.pro b/qcs.pro
index 335d91c..84e349f 100644
--- a/qcs.pro
+++ b/qcs.pro
@@ -173,7 +173,7 @@ unix:!macx {
SHARE_DIR=/usr/share # ~/.local for HOME install
}
target.path = $$INSTALL_DIR/bin
- target.commands = ln -sf $(INSTALL_ROOT)/$$INSTALL_DIR/bin/$$TARGET $(INSTALL_ROOT)/$$INSTALL_DIR/bin/csoundqt # create link always with the same name
+ target.commands = ln -sf $$TARGET $(INSTALL_ROOT)/$$INSTALL_DIR/bin/csoundqt # create link always with the same name
target.files = $$OUT_PWD/$$DESTDIR/$$TARGET
|