[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 28/36: contrib/make-dist.sh: added use of zopfli if avai
From: |
gnunet |
Subject: |
[libmicrohttpd] 28/36: contrib/make-dist.sh: added use of zopfli if available |
Date: |
Thu, 01 Jun 2023 12:30:33 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit ba5538e246d2835c0dde50f7995c87f57e2ebbb4
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed May 24 21:01:39 2023 +0300
contrib/make-dist.sh: added use of zopfli if available
---
contrib/make-dist.sh | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/contrib/make-dist.sh b/contrib/make-dist.sh
index 2b66c35a..47d580ac 100755
--- a/contrib/make-dist.sh
+++ b/contrib/make-dist.sh
@@ -84,11 +84,22 @@ echo '** Patched build system ready.'
echo ''
# Build the configure and the related files with patches
+
+have_command()
+{
+ command -v "$1" >/dev/null 2>&1
+}
+
echo ''
echo '*** Building dist tarball...'
echo ''
./configure || exit 7
-make dist || exit 7
+if have_command zopfli; then
+ make dist-custm2 'ARC_CMD=zopfli -v --gzip --i15' 'ARC_EXT=tar.gz' || exit
7
+else
+ make dist || exit 7
+ echo '* zopfli is not installed, tarball size is suboptimal.'
+fi
echo ''
echo '** Dist tarball ready.'
echo ''
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 11/36: test_client_put_stop: fixed typo in comment, (continued)
- [libmicrohttpd] 11/36: test_client_put_stop: fixed typo in comment, gnunet, 2023/06/01
- [libmicrohttpd] 17/36: examples/sessions.c: removed non-portable function and improved safety, gnunet, 2023/06/01
- [libmicrohttpd] 18/36: configure: fixed detection of __FUNCTION__ magic macro, gnunet, 2023/06/01
- [libmicrohttpd] 06/36: test_toolarge: fixed reported error description, gnunet, 2023/06/01
- [libmicrohttpd] 13/36: test_timeout: moved to heavy tests, gnunet, 2023/06/01
- [libmicrohttpd] 16/36: test_post: fixed caseless key name match, gnunet, 2023/06/01
- [libmicrohttpd] 19/36: Simplified usage of the function name magic macros, gnunet, 2023/06/01
- [libmicrohttpd] 23/36: .gitignore: force include all *.{c,h} files, gnunet, 2023/06/01
- [libmicrohttpd] 26/36: test_client_put_stop: fixed typo in diag message, gnunet, 2023/06/01
- [libmicrohttpd] 25/36: Detect sysctl() symbols in configure, gnunet, 2023/06/01
- [libmicrohttpd] 28/36: contrib/make-dist.sh: added use of zopfli if available,
gnunet <=
- [libmicrohttpd] 29/36: daemon.c: redesigned code for clarity and formatting, gnunet, 2023/06/01
- [libmicrohttpd] 35/36: autoinit_funcs.h: fixed warning on MSVC, gnunet, 2023/06/01
- [libmicrohttpd] 27/36: Added support for custom command for tarball compression, gnunet, 2023/06/01
- [libmicrohttpd] 15/36: examples/largepost.c: fixed caseless method match, gnunet, 2023/06/01
- [libmicrohttpd] 20/36: tests: unified use of function name macros, gnunet, 2023/06/01
- [libmicrohttpd] 21/36: Added internal preprocessor macro for magic macro presence, gnunet, 2023/06/01
- [libmicrohttpd] 30/36: Fixed compiler warning when built without poll() support, gnunet, 2023/06/01
- [libmicrohttpd] 31/36: Avoided potential compiler warnings, gnunet, 2023/06/01
- [libmicrohttpd] 32/36: Added macro for base64 decoded size, gnunet, 2023/06/01
- [libmicrohttpd] 36/36: W32 VS Project: fixed warning with external build systems, gnunet, 2023/06/01