[Bf-blender-cvs] [f02e1a77c93] master: Makefile: add update_code target

Ray Molenkamp noreply at git.blender.org
Wed Mar 31 13:35:18 CEST 2021


Commit: f02e1a77c93c6fa55d557498da76f0f818418cca
Author: Ray Molenkamp
Date:   Wed Mar 31 22:30:41 2021 +1100
Branches: master
https://developer.blender.org/rBf02e1a77c93c6fa55d557498da76f0f818418cca

Makefile: add update_code target

Convenience target for updating the code, skipping SVN.

The Python script supports it, but this wasn't exposed in the makefile.

Ref D10457

===================================================================

M	GNUmakefile

===================================================================

diff --git a/GNUmakefile b/GNUmakefile
index 3fe1850ca73..3f7804557aa 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -129,7 +129,10 @@ Utilities
      Create a compressed archive of the source code.
 
    * update:
-     updates git and all submodules
+     Updates git and all submodules and svn.
+
+   * update_code:
+     Updates git and all submodules but not svn.
 
    * format:
      Format source code using clang (uses PATHS if passed in). For example::
@@ -522,6 +525,9 @@ icons_geom: .FORCE
 update: .FORCE
 	$(PYTHON) ./build_files/utils/make_update.py
 
+update_code: .FORCE
+	$(PYTHON) ./build_files/utils/make_update.py --no-libraries
+
 format: .FORCE
 	PATH="../lib/${OS_NCASE}_${CPU}/llvm/bin/:../lib/${OS_NCASE}_centos7_${CPU}/llvm/bin/:../lib/${OS_NCASE}/llvm/bin/:$(PATH)" \
 		$(PYTHON) source/tools/utils_maintenance/clang_format_paths.py $(PATHS)



More information about the Bf-blender-cvs mailing list