From 34200718db9f46ea127c14f29580df60ff95b987 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Fri, 12 Oct 2007 16:28:19 +0000 Subject: [PATCH] This fixes make release so that it does not package .svn dirs with the build. This is bug [#7387] Release files pack the .svn metadata directories I took a breif look at the scons files and it looks like it has a fix for them already. It would be great if someone that uses scons could just do a quick double check and let me know if there are problems with it and or just fix whatever slips through. Kent --- release/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/release/Makefile b/release/Makefile index e04645a7075..c55e62be003 100644 --- a/release/Makefile +++ b/release/Makefile @@ -116,8 +116,9 @@ install: package ifneq ($(OS), darwin) @[ ! -d $(OCGDIR)/bin/.blender ] || \ cp -r $(OCGDIR)/bin/.blender $(DISTDIR) - cp $(NANBLENDERHOME)/bin/.blender/.Blanguages $(CONFDIR) - cp $(NANBLENDERHOME)/bin/.blender/.bfont.ttf $(CONFDIR) + @rm -rf $(DISTDIR)/.svn $(DISTDIR)/*/.svn $(DISTDIR)/*/*/.svn + @cp $(NANBLENDERHOME)/bin/.blender/.Blanguages $(CONFDIR) + @cp $(NANBLENDERHOME)/bin/.blender/.bfont.ttf $(CONFDIR) endif @echo "----> Copy blender$(EXT0) executable" ifeq ($(TYPE),-static) @@ -141,7 +142,7 @@ ifneq ($(NOPLUGINS),true) @cp ../source/blender/blenpluginapi/*.h $(DISTDIR)/plugins/include/ @chmod 755 $(DISTDIR)/plugins/bmake @$(MAKE) -C $(DISTDIR)/plugins all > /dev/null || exit 1; - @rm -fr $(DISTDIR)/plugins/CVS $(DISTDIR)/plugins/*/CVS \ + @rm -fr $(DISTDIR)/plugins/.svn $(DISTDIR)/plugins/*/.svn \ $(DISTDIR)/plugins/*/*.o #on OS X the plugins move to the installation directory @@ -155,7 +156,7 @@ endif @echo "----> Copy python infrastructure" @[ ! -d scripts ] || cp -r scripts $(CONFDIR)/scripts - @[ ! -d $(CONFDIR)/scripts ] || rm -fr $(CONFDIR)/scripts/CVS + @[ ! -d $(CONFDIR)/scripts ] || rm -fr $(CONFDIR)/scripts/.svn $(CONFDIR)/scripts/*/.svn $(CONFDIR)/scripts/*/*/.svn ifeq ($(OS),darwin) @echo "----> Move .blender to .app/Contents/MacOS/"