diff options
author | Kent Mein <mein@cs.umn.edu> | 2008-05-10 00:00:18 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2008-05-10 00:00:18 +0400 |
commit | a7a9c74ccb3c1f2dce29bb92c64c837c86ad7e80 (patch) | |
tree | 4d904d3cfccc347798df1b7100850519f8a2a3f9 /release/Makefile | |
parent | f115a5f789056a08ca194ada67380ba06350a3bb (diff) |
This is patch: [#9050] Single step .svn dir removal for Makefile (release)
From gsr.
It cleans up removing .svn dirs from the directorys that get copied over.
Kent
Diffstat (limited to 'release/Makefile')
-rw-r--r-- | release/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/release/Makefile b/release/Makefile index 953144b5223..f440e2dface 100644 --- a/release/Makefile +++ b/release/Makefile @@ -118,7 +118,6 @@ install: package ifneq ($(OS), darwin) @[ ! -d $(OCGDIR)/bin/.blender ] || \ cp -r $(OCGDIR)/bin/.blender $(DISTDIR) - @rm -rf $(DISTDIR)/.svn $(DISTDIR)/*/.svn $(DISTDIR)/*/*/.svn @cp $(NANBLENDERHOME)/bin/.blender/.Blanguages $(CONFDIR) @cp $(NANBLENDERHOME)/bin/.blender/.bfont.ttf $(CONFDIR) endif @@ -144,8 +143,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/.svn $(DISTDIR)/plugins/*/.svn \ - $(DISTDIR)/plugins/*/*.o + @rm -f $(DISTDIR)/plugins/*/*.o #on OS X the plugins move to the installation directory ifneq ($(OS),darwin) @@ -158,7 +156,6 @@ endif @echo "----> Copy python infrastructure" @[ ! -d scripts ] || cp -r scripts $(CONFDIR)/scripts - @[ ! -d $(CONFDIR)/scripts ] || rm -fr $(CONFDIR)/scripts/.svn $(CONFDIR)/scripts/*/.svn $(CONFDIR)/scripts/*/*/.svn ifeq ($(OS),darwin) @echo "----> Move .blender to .app/Contents/MacOS/" @@ -180,6 +177,8 @@ endif @[ ! -x $(CONFIG_GUESS)/specific.sh ] || (\ echo "**--> Execute specific.sh in $(CONFIG_GUESS)/" && \ cd $(CONFIG_GUESS) && ./specific.sh ) + @echo "----> Cleaning .svn metadata directories" + @find $(DISTDIR) -type d -name ".svn" | xargs rm -fr pkg: install @echo "----> Create distribution file $(BLENDNAME)$(EXT1)" |