gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 27/36: Added support for custom command for tarball comp


From: gnunet
Subject: [libmicrohttpd] 27/36: Added support for custom command for tarball compression
Date: Thu, 01 Jun 2023 12:30:32 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit f5b06de9cde1b210a7c247f8764f00ddb2f62eeb
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed May 24 19:56:57 2023 +0300

    Added support for custom command for tarball compression
---
 Makefile.am | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index bf9ca7b4..37d058b6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -60,13 +60,32 @@ dist-hook: dist-po
        @if test -w '$(distdir)/m4/c_backported.m4'; then \
          echo "Use empty m4/c_backported.m4 for dist target"; \
          touch -r '$(distdir)/m4/c_backported.m4' 
'$(distdir)/m4/c_backported.m4-tmst' && \
-           echo '# Not used for distribution' > 
'$(distdir)/m4/c_backported.m4' && \
+           echo 'dnl Not used for distribution' > 
'$(distdir)/m4/c_backported.m4' && \
            touch -r '$(distdir)/m4/c_backported.m4-tmst' 
'$(distdir)/m4/c_backported.m4' && \
            rm -f '$(distdir)/m4/c_backported.m4-tmst'; \
        else \
          true; \
        fi
 
+dist-custm: distdir
+       @test -n "$(ARC_CMD)" || \
+         { echo 'The valid archive command must be defined by "ARC_CMD".' >&2; 
false; }
+       @test -n "$(ARC_EXT)" || \
+         { echo 'The archive file extention must be set by "ARC_EXT".' >&2; 
false; }
+       -rm -f '$(distdir).$(ARC_EXT)'
+       tardir=$(distdir) && $(am__tar) | $(ARC_CMD) >$(distdir).$(ARC_EXT)
+       $(am__post_remove_distdir)
+
+dist-custm2: distdir
+       @test -n "$(ARC_CMD)" || \
+         { echo 'The valid archive command must be defined by "ARC_CMD".' >&2; 
false; }
+       @test -n "$(ARC_EXT)" || \
+         { echo 'The archive file extention must be set by "ARC_EXT".' >&2; 
false; }
+       -rm -f '$(distdir).$(ARC_EXT)'
+       tardir=$(distdir) && $(am__tar) >$(distdir).tar && $(ARC_CMD) 
$(distdir).tar
+       rm -f $(distdir).tar
+       $(am__post_remove_distdir)
+
 pre-dist-hook: pre-dist-hook-doc
        @echo "Preparing to make dist"
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]