diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-01-09 20:32:09 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-01-09 20:32:09 +0300 |
commit | 0a76e006e5ce9c15332e3733d825e4ee342f6dbe (patch) | |
tree | 57f1f39e76b2b23df37a8cc8f87773d0e142af93 | |
parent | a8b2cce86981b62d139a947adde4194e4cb4fe39 (diff) | |
download | libmicrohttpd-0a76e006e5ce9c15332e3733d825e4ee342f6dbe.tar.gz libmicrohttpd-0a76e006e5ce9c15332e3733d825e4ee342f6dbe.zip |
Fixed "make distcheck" (finally)
Also fixed "make dist" from read-only unpacked tarball.
-rw-r--r-- | Makefile.am | 13 |
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 | ||
61 | pre-dist-hook: | 61 | pre-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 | 64 | pre-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 | ||
67 | distclean-local: distclean-po | 74 | distclean-local: distclean-po |
68 | 75 | ||