diff options
author | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-09-24 22:24:08 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-09-24 22:24:08 +0200 |
commit | b182bcb699ed4ad6043f35715d1d713d3a1180d6 (patch) | |
tree | 4335ab8f22bb67c549618943d6adbdc717222c52 | |
parent | b0ade6823af3e9cc692fa61829c296707d0ec9d7 (diff) |
Selectable PREFIX for installation, fixes #100
-rw-r--r-- | qtpass.pro | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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\\\"\"" |