From e5adeed40be1603be912938e340415eb4bf55585 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 15 Sep 2014 14:04:30 +1000 Subject: Makefile: add 'update' convenience target --- GNUmakefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index 6e3e3cde5e8..91d3aa12a4d 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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 -- cgit v1.2.3