Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-10-30 16:16:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-10-30 16:19:05 +0300
commit60d0446db34a4250c6cd2881f5dd71a08f7a8867 (patch)
treedf024e7500441beaacc148164a088477029514a6
parent068c6a6f1516bc7d25da7f33dff3181e323b432e (diff)
GNUmakefile: use tar.xz instead of tar.gz
Also rename "make tgz" to "make source_archive" as it wasn't clear this only archived the source, not binaries. D6153 by @JRottm with minor edits
-rw-r--r--GNUmakefile6
-rwxr-xr-xbuild_files/utils/make_source_archive.sh (renamed from build_files/utils/build_tgz.sh)4
2 files changed, 5 insertions, 5 deletions
diff --git a/GNUmakefile b/GNUmakefile
index e52fd38a7e3..2c7856db7b4 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -118,7 +118,7 @@ Utilities
Example
make icons_geom BLENDER_BIN=/path/to/blender
- * tgz:
+ * source_archive:
Create a compressed archive of the source code.
* update:
@@ -525,8 +525,8 @@ check_descriptions: .FORCE
# Utilities
#
-tgz: .FORCE
- ./build_files/utils/build_tgz.sh
+source_archive: .FORCE
+ ./build_files/utils/make_source_archive.sh
INKSCAPE_BIN?="inkscape"
icons: .FORCE
diff --git a/build_files/utils/build_tgz.sh b/build_files/utils/make_source_archive.sh
index 63c3264b18e..ab940f7305f 100755
--- a/build_files/utils/build_tgz.sh
+++ b/build_files/utils/make_source_archive.sh
@@ -20,7 +20,7 @@ else
fi
MANIFEST="blender-$VERSION-manifest.txt"
-TARBALL="blender-$VERSION.tar.gz"
+TARBALL="blender-$VERSION.tar.xz"
cd "$blender_srcdir"
@@ -54,7 +54,7 @@ echo "OK"
cd "$blender_srcdir"
echo -n "Creating archive: \"$BASE_DIR/$TARBALL\" ..."
tar --transform "s,^,blender-$VERSION/,g" \
- --use-compress-program="gzip --best" \
+ --use-compress-program="xz -9" \
--create \
--file="$BASE_DIR/$TARBALL" \
--files-from="$BASE_DIR/$MANIFEST"