Skip to content

Commit

Permalink
Selectable PREFIX for installation, fixes #100
Browse files Browse the repository at this point in the history
  • Loading branch information
Anne Jan Brouwer committed Sep 24, 2015
1 parent b0ade68 commit b182bcb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qtpass.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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\\\"\""

0 comments on commit b182bcb

Please sign in to comment.