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
This commit is contained in:

committed by
Campbell Barton

parent
4d856ecb11
commit
f02e1a77c9
@@ -129,7 +129,10 @@ Utilities
|
|||||||
Create a compressed archive of the source code.
|
Create a compressed archive of the source code.
|
||||||
|
|
||||||
* update:
|
* 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:
|
||||||
Format source code using clang (uses PATHS if passed in). For example::
|
Format source code using clang (uses PATHS if passed in). For example::
|
||||||
@@ -522,6 +525,9 @@ icons_geom: .FORCE
|
|||||||
update: .FORCE
|
update: .FORCE
|
||||||
$(PYTHON) ./build_files/utils/make_update.py
|
$(PYTHON) ./build_files/utils/make_update.py
|
||||||
|
|
||||||
|
update_code: .FORCE
|
||||||
|
$(PYTHON) ./build_files/utils/make_update.py --no-libraries
|
||||||
|
|
||||||
format: .FORCE
|
format: .FORCE
|
||||||
PATH="../lib/${OS_NCASE}_${CPU}/llvm/bin/:../lib/${OS_NCASE}_centos7_${CPU}/llvm/bin/:../lib/${OS_NCASE}/llvm/bin/:$(PATH)" \
|
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)
|
$(PYTHON) source/tools/utils_maintenance/clang_format_paths.py $(PATHS)
|
||||||
|
Reference in New Issue
Block a user