diff options
author | Marius Kintel <marius@kintel.net> | 2011-11-03 14:13:33 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-11-03 14:13:33 (GMT) |
commit | 3bc03713512e50d56d8bb7283c1232bad44a0382 (patch) | |
tree | 9924b4bf0cb3dcb96caf649f6a24f283b11332b8 | |
parent | cb56f700b1b0f4ae589da62a5fd1d4e368deb604 (diff) |
Applied configurable PREFIX patch from chrysn
-rw-r--r-- | openscad.pro | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/openscad.pro b/openscad.pro index c507ab9..8c72b3f 100644 --- a/openscad.pro +++ b/openscad.pro @@ -279,13 +279,15 @@ macx { SOURCES += src/AppleEvents.cc } -target.path = /usr/local/bin/ +isEmpty(PREFIX):PREFIX = /usr/local + +target.path = $$PREFIX/bin/ INSTALLS += target -examples.path = /usr/local/share/openscad/examples/ +examples.path = $$PREFIX/share/openscad/examples/ examples.files = examples/* INSTALLS += examples -libraries.path = /usr/local/share/openscad/libraries/ +libraries.path = $$PREFIX/share/openscad/libraries/ libraries.files = libraries/* INSTALLS += libraries |