gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: Fixed "make distcheck" (finally)


From: gnunet
Subject: [libmicrohttpd] branch master updated: Fixed "make distcheck" (finally)
Date: Sun, 09 Jan 2022 18:32:19 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 0a76e006 Fixed "make distcheck" (finally)
0a76e006 is described below

commit 0a76e006e5ce9c15332e3733d825e4ee342f6dbe
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Jan 9 20:32:09 2022 +0300

    Fixed "make distcheck" (finally)
    
    Also fixed "make dist" from read-only unpacked tarball.
---
 Makefile.am | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 4bbf92e7..65674601 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -58,11 +58,18 @@ dist-hook: dist-po
          rm -f '$(distdir)/pre-dist-hook-dummy'
        @rm -f pre-dist-hook-dummy
 
-pre-dist-hook:
+pre-dist-hook: pre-dist-hook-doc
        @echo "Preparing to make dist"
-       @$(am__cd) doc && $(MAKE) $(AM_MAKEFLAGS) update-stamp
 
-.PHONY: pre-dist-hook
+pre-dist-hook-doc:
+       @echo "Preparing to make dist in doc"
+       @if test -w '$(top_srcdir)/doc' ; then \
+         $(am__cd) doc && $(MAKE) $(AM_MAKEFLAGS) update-stamp; \
+       else \
+         echo "Source tree is read-only, skipping force doc update"; \
+       fi;
+
+.PHONY: pre-dist-hook pre-dist-hook-doc
 
 distclean-local: distclean-po
 

-- 
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]