diff options
Diffstat (limited to 'openscad.pro')
-rw-r--r-- | openscad.pro | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/openscad.pro b/openscad.pro index c507ab9..f08cecc 100644 --- a/openscad.pro +++ b/openscad.pro @@ -218,6 +218,7 @@ SOURCES += src/openscad.cc \ src/func.cc \ src/module.cc \ src/node.cc \ + src/builtin.cc \ src/context.cc \ src/csgterm.cc \ src/polyset.cc \ @@ -279,13 +280,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 |