diff options
author | Kent Mein <mein@cs.umn.edu> | 2007-10-12 20:28:19 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2007-10-12 20:28:19 +0400 |
commit | 34200718db9f46ea127c14f29580df60ff95b987 (patch) | |
tree | e569fce86f8205e0a083b3028f0169e7837c3d98 /release/Makefile | |
parent | 6fe98f19a95117633684b85073b4d90654e159fd (diff) |
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
Diffstat (limited to 'release/Makefile')
-rw-r--r-- | release/Makefile | 9 |
1 files 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/" |