aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-01-09 20:32:09 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-01-09 20:32:09 +0300
commit0a76e006e5ce9c15332e3733d825e4ee342f6dbe (patch)
tree57f1f39e76b2b23df37a8cc8f87773d0e142af93
parenta8b2cce86981b62d139a947adde4194e4cb4fe39 (diff)
downloadlibmicrohttpd-0a76e006e5ce9c15332e3733d825e4ee342f6dbe.tar.gz
libmicrohttpd-0a76e006e5ce9c15332e3733d825e4ee342f6dbe.zip
Fixed "make distcheck" (finally)
Also fixed "make dist" from read-only unpacked tarball.
-rw-r--r--Makefile.am13
1 files 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
58 rm -f '$(distdir)/pre-dist-hook-dummy' 58 rm -f '$(distdir)/pre-dist-hook-dummy'
59 @rm -f pre-dist-hook-dummy 59 @rm -f pre-dist-hook-dummy
60 60
61pre-dist-hook: 61pre-dist-hook: pre-dist-hook-doc
62 @echo "Preparing to make dist" 62 @echo "Preparing to make dist"
63 @$(am__cd) doc && $(MAKE) $(AM_MAKEFLAGS) update-stamp
64 63
65.PHONY: pre-dist-hook 64pre-dist-hook-doc:
65 @echo "Preparing to make dist in doc"
66 @if test -w '$(top_srcdir)/doc' ; then \
67 $(am__cd) doc && $(MAKE) $(AM_MAKEFLAGS) update-stamp; \
68 else \
69 echo "Source tree is read-only, skipping force doc update"; \
70 fi;
71
72.PHONY: pre-dist-hook pre-dist-hook-doc
66 73
67distclean-local: distclean-po 74distclean-local: distclean-po
68 75