diff options
author | Ton Roosendaal <ton@blender.org> | 2006-06-10 14:47:21 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-06-10 14:47:21 +0400 |
commit | ad3290d3d1a4ffd3a5697a7a301a8425aab7707d (patch) | |
tree | edc91264d287f2d31a5c16f5dfe55460566a61ea /release/Makefile | |
parent | 012ea6265fecdf998e1aec839d057de55d6cfa6c (diff) |
Makefile change for OSX plugins release build:
- the .so files are copied to the installation dir plugin/ directory now
(other platforms copy it to the .blender dir, which doesn't exist there
for OSX)
- plugin C files got #defines for return values, was old patch I applied,
but was never committed
Diffstat (limited to 'release/Makefile')
-rw-r--r-- | release/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/release/Makefile b/release/Makefile index 8a2bb114275..8b3331c2556 100644 --- a/release/Makefile +++ b/release/Makefile @@ -127,12 +127,15 @@ ifneq ($(NOPLUGINS),true) @$(MAKE) -C $(DISTDIR)/plugins all > /dev/null || exit 1; @rm -fr $(DISTDIR)/plugins/CVS $(DISTDIR)/plugins/*/CVS \ $(DISTDIR)/plugins/*/*.o - @mkdir -p $(CONFDIR)/plugins/sequence - @mkdir -p $(CONFDIR)/plugins/texture - @mv $(DISTDIR)/plugins/sequence/*.so $(CONFDIR)/plugins/sequence - @mv $(DISTDIR)/plugins/texture/*.so $(CONFDIR)/plugins/texture +#on OS X the plugins move to the installation directory + ifneq ($(OS),darwin) + @mkdir -p $(CONFDIR)/plugins/sequence + @mkdir -p $(CONFDIR)/plugins/texture + @mv $(DISTDIR)/plugins/sequence/*.so $(CONFDIR)/plugins/sequence + @mv $(DISTDIR)/plugins/texture/*.so $(CONFDIR)/plugins/texture + endif endif @echo "----> Copy python infrastructure" |