don't copy the .blender dir to $DISTDIR on OS X, as it's contents is
[blender.git] / release / Makefile
index 812182418c4a98c91c6aa43f935e4e05334d110f..b488a2e9eecd489a4b8a352e798340e44cb45adb 100644 (file)
@@ -98,8 +98,11 @@ install: package
        @# possible overruling .txt text documents
        @[ ! -d $(CONFIG_GUESS)/text ] || \
            cp -f $(CONFIG_GUESS)/text/*.txt $(DISTDIR)
+#on OS X the contents of the .blender dir is already inside the bundle
+ifneq ($(OS), darwin)
        @[ ! -d $(OCGDIR)/bin/.blender ] || \
                cp -a $(OCGDIR)/bin/.blender $(DISTDIR)
+endif
 
 # Python scripts removed for 2.14
 #@echo "----> Copy python scripts"