summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Jan Brouwer <annejan@noprotocol.com>2015-10-22 14:40:18 +0200
committerAnne Jan Brouwer <annejan@noprotocol.com>2015-10-22 14:40:18 +0200
commit321f6887d07e389c8ffae537fb4fe98176623b6f (patch)
treedb71482074ef31ed0c08d33706fa78bbea45bad0
parent60fc83bed78aa0ba8b6eda4b74be6e62ca9c9dcb (diff)
Use PREFIX from environment or from qmake directly, fixes https://github.com/IJHack/qtpass/issues/106
-rw-r--r--qtpass.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtpass.pro b/qtpass.pro
index 918504d9..6dc2e09c 100644
--- a/qtpass.pro
+++ b/qtpass.pro
@@ -92,6 +92,10 @@ OTHER_FILES += LICENSE \
README.md
isEmpty(PREFIX) {
+ PREFIX = $$(PREFIX)
+}
+
+isEmpty(PREFIX) {
PREFIX = /usr/local/bin
}
target.path = $$PREFIX/