From: Pavel Charvat Date: Wed, 19 Jan 2022 15:20:59 +0000 (+0100) Subject: Build: Added CONFIG_BUILDDEB_GZIP option. X-Git-Tag: v6.5.14~13 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=dcc163ae81de1bd64ba76e52acaf5bf9d14b6afe;p=libucw.git Build: Added CONFIG_BUILDDEB_GZIP option. --- diff --git a/debian/rules b/debian/rules index 99e8cf97..f23966f1 100755 --- a/debian/rules +++ b/debian/rules @@ -84,7 +84,11 @@ binary-arch: build install dh_shlibdeps dh_gencontrol dh_md5sums +ifdef CONFIG_BUILDDEB_GZIP + dh_builddeb -- -Zgzip +else dh_builddeb +endif binary: binary-indep binary-arch .PHONY: build build-arch build-indep clean binary-indep binary-arch binary install diff --git a/default.cfg b/default.cfg index 7aa310aa..086ab385 100644 --- a/default.cfg +++ b/default.cfg @@ -41,5 +41,9 @@ Set("CONFIG_XML"); # Libucw-json Set("CONFIG_JSON"); +# Compress .deb packages with gzip (instead of the default algorithm) +# Hack for Economia's deployment machinery +UnSet("CONFIG_BUILDDEB_GZIP"); + # Return success 1;