From 3bc03713512e50d56d8bb7283c1232bad44a0382 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Thu, 3 Nov 2011 15:13:33 +0100 Subject: Applied configurable PREFIX patch from chrysn 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 -- cgit v0.10.1