aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2024-01-29 22:11:16 +0100
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2024-01-29 22:11:16 +0100
commit0489469cd6b6076e972d64023e134846750bd0b6 (patch)
tree4adb5ad7f2b00581bc234bf2217ab5c25c933f29 /contrib
parentc28176fdfb820611e43ea29f99435b37843ead8f (diff)
downloadlibmicrohttpd-0489469cd6b6076e972d64023e134846750bd0b6.tar.gz
libmicrohttpd-0489469cd6b6076e972d64023e134846750bd0b6.zip
make-dist.sh: allowed Debian trixie/sid
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/make-dist.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/make-dist.sh b/contrib/make-dist.sh
index 47d580ac..f8ecf273 100755
--- a/contrib/make-dist.sh
+++ b/contrib/make-dist.sh
@@ -5,12 +5,13 @@
5# Optional autotools patches are applied for better toolchains 5# Optional autotools patches are applied for better toolchains
6# compatibility. 6# compatibility.
7# 7#
8# Based on Debian SID baseline files as of April 2023. 8# Based on Debian SID baseline files as of January 2024.
9# 9#
10 10
11if ! grep -Eq -e '^PRETTY_NAME="Debian GNU/Linux 12 \(bookworm\)"$' /etc/os-release 11if ! grep -Eq -e '^PRETTY_NAME="Debian GNU/Linux 12 \(bookworm\)"$' /etc/os-release && \
12 ! grep -Eq -e '^PRETTY_NAME="Debian GNU/Linux trixie/sid"$' /etc/os-release
12then 13then
13 echo "Only Debian 'bookworm' is supported by this script." >&2 14 echo "Only Debian 'bookworm' and 'trixie/sid' are supported by this script." >&2
14 exit 1 15 exit 1
15fi 16fi
16 17
@@ -95,7 +96,7 @@ echo '*** Building dist tarball...'
95echo '' 96echo ''
96./configure || exit 7 97./configure || exit 7
97if have_command zopfli; then 98if have_command zopfli; then
98 make dist-custm2 'ARC_CMD=zopfli -v --gzip --i15' 'ARC_EXT=tar.gz' || exit 7 99 make dist-custm2 'ARC_CMD=zopfli -v --gzip --i25' 'ARC_EXT=tar.gz' || exit 7
99else 100else
100 make dist || exit 7 101 make dist || exit 7
101 echo '* zopfli is not installed, tarball size is suboptimal.' 102 echo '* zopfli is not installed, tarball size is suboptimal.'