diff options
author | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-10-22 14:40:18 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-10-22 14:40:18 +0200 |
commit | 321f6887d07e389c8ffae537fb4fe98176623b6f (patch) | |
tree | db71482074ef31ed0c08d33706fa78bbea45bad0 | |
parent | 60fc83bed78aa0ba8b6eda4b74be6e62ca9c9dcb (diff) |
Use PREFIX from environment or from qmake directly, fixes https://github.com/IJHack/qtpass/issues/106
-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/ |