Makefile: add 'update' convenience target

This commit is contained in:
Campbell Barton 2014-09-15 14:04:30 +10:00
parent 73c647622a
commit e5adeed40b
1 changed files with 8 additions and 0 deletions

View File

@ -193,6 +193,7 @@ help:
@echo "Utilities (not associated with building blender)"
@echo " * icons - updates PNG icons from SVG files."
@echo " * tbz - create a compressed svn export 'blender_archive.tar.bz2'"
@echo " * update - updates git and all submodules
@echo ""
@echo "Documentation Targets (not associated with building blender)"
@echo " * doc_py - generate sphinx python api docs"
@ -370,6 +371,13 @@ icons:
"$(BLENDER_DIR)/release/datafiles/blender_icons_update.py"
"$(BLENDER_DIR)/release/datafiles/prvicons_update.py"
update:
if [ -d "../lib" ]; then \
svn update ../lib/* ; \
fi
git pull --rebase
git submodule foreach git pull --rebase origin master
# -----------------------------------------------------------------------------
# Documentation