diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2015-10-22 14:40:18 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-10-22 14:40:18 +0200 |
commit | 249562578a9eb82d33997ae3be1fe2a92fff1dae (patch) | |
tree | db71482074ef31ed0c08d33706fa78bbea45bad0 /qtpass.pro | |
parent | 8d90aee7c13ff28907f43397ad100429d470d87e (diff) |
Use PREFIX from environment or from qmake directly, fixes https://github.com/IJHack/qtpass/issues/106
Diffstat (limited to 'qtpass.pro')
-rw-r--r-- | qtpass.pro | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -92,6 +92,10 @@ OTHER_FILES += LICENSE \ README.md isEmpty(PREFIX) { + PREFIX = $$(PREFIX) +} + +isEmpty(PREFIX) { PREFIX = /usr/local/bin } target.path = $$PREFIX/ |