diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-09-15 08:04:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-09-15 08:11:14 +0400 |
commit | e5adeed40be1603be912938e340415eb4bf55585 (patch) | |
tree | 07bc8f4b1db7742c56c20272c478b471710d05c3 | |
parent | 73c647622a8118f3e22e1aa0066ac3c07ad4f760 (diff) |
Makefile: add 'update' convenience target
-rw-r--r-- | GNUmakefile | 8 |
1 files changed, 8 insertions, 0 deletions
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 |