summaryrefslogtreecommitdiffstats
path: root/qtpass.pro
diff options
context:
space:
mode:
Diffstat (limited to 'qtpass.pro')
-rw-r--r--qtpass.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/qtpass.pro b/qtpass.pro
index 662e824c..4b396d70 100644
--- a/qtpass.pro
+++ b/qtpass.pro
@@ -91,7 +91,11 @@ win32 {
OTHER_FILES += LICENSE \
README.md
-target.path = /usr/local/bin/
+isEmpty(PREFIX) {
+ PREFIX = /usr/local/bin
+}
+target.path = $$PREFIX/
+
INSTALLS += target
DEFINES += "VERSION=\"\\\"$$VERSION\\\"\""