A fix to the release Makefile so that strip happens *after* copy.
authorChris Want <cwant@ualberta.ca>
Wed, 7 May 2003 14:47:49 +0000 (14:47 +0000)
committerChris Want <cwant@ualberta.ca>
Wed, 7 May 2003 14:47:49 +0000 (14:47 +0000)
Please test!

release/Makefile

index 89224ef7c4a7dc60745617c7f3667eedb5a4812b..ae74da6d85b93bea0fc065b10662c13d2d0ad9e3 100644 (file)
@@ -104,14 +104,6 @@ install: package
 #@cp -r python $(DISTDIR)/python
 #@rm -fr $(DISTDIR)/python/CVS
 
-    ifneq ($(NOSTRIP),true)
-       @echo "----> Strip blender executable"
-      ifeq ($(OS),darwin)
-       @strip -x $(OCGDIR)/bin/blender$(EXT0)/Contents/MacOS/blender
-      else
-       @strip -x $(DISTDIR)/blender$(EXT0)
-      endif
-    endif
        @echo "----> Copy blender$(EXT0) executable"
     ifeq ($(TYPE),-static)
        @cp $(OCGDIR)/bin/blenderstatic$(EXT0) $(DISTDIR)/blender$(EXT0)
@@ -131,6 +123,14 @@ install: package
        @$(MAKE) -C $(DISTDIR)/plugins all  > /dev/null || exit 1;
        @rm -fr $(DISTDIR)/plugins/CVS $(DISTDIR)/plugins/*/CVS \
              $(DISTDIR)/plugins/*/*.o
+    endif
+    ifneq ($(NOSTRIP),true)
+       @echo "----> Strip blender executable"
+      ifeq ($(OS),darwin)
+       @strip -x $(OCGDIR)/bin/blender$(EXT0)/Contents/MacOS/blender
+      else
+       @strip -x $(DISTDIR)/blender$(EXT0)
+      endif
     endif
        @[ ! -x $(CONFIG_GUESS)/specific.sh ] || (\
            echo "**--> Execute specific.sh in $(CONFIG_GUESS)/" && \