diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-04-13 18:47:48 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-04-13 18:47:48 +0300 |
commit | b8479a70c936c5c59f199a847d679c80196e6c0b (patch) | |
tree | 99da410b2af92039d585913be31d0e50c055220b /GNUmakefile | |
parent | 1f2a801044ac77a5371fbea3bdc2cf3c4258954f (diff) |
Add `make source_archive_complete` target
Add a `source_archive_complete` target for `make` that creates a source
archive including the source packages of Blender's dependencies.
This expands `make_source_archive.py` to include files from
`${BUILD_DIR}/source_archive/packages/` as well.
Reviewed By: dfelinto
Maniphest Tasks: T86124
Differential Revision: https://developer.blender.org/D10727
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index 3f7804557aa..d7ecee09351 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -128,6 +128,9 @@ Utilities * source_archive: Create a compressed archive of the source code. + * source_archive_complete: + Create a compressed archive of the source code and all the libraries of dependencies. + * update: Updates git and all submodules and svn. @@ -511,6 +514,13 @@ check_descriptions: .FORCE source_archive: .FORCE python3 ./build_files/utils/make_source_archive.py +source_archive_complete: .FORCE + cmake -S "$(BLENDER_DIR)/build_files/build_environment" -B"$(BUILD_DIR)/source_archive" \ + -DCMAKE_BUILD_TYPE_INIT:STRING=$(BUILD_TYPE) -DPACKAGE_USE_UPSTREAM_SOURCES=OFF +# This assumes CMake is still using a default `PACKAGE_DIR` variable: + python3 ./build_files/utils/make_source_archive.py --include-packages "$(BUILD_DIR)/source_archive/packages" + + INKSCAPE_BIN?="inkscape" icons: .FORCE BLENDER_BIN=$(BLENDER_BIN) INKSCAPE_BIN=$(INKSCAPE_BIN) \ |