From: Daniel Stenberg Date: Thu, 8 Feb 2024 06:58:09 +0000 (+0100) Subject: docs: make sure curl.1 is included in dist tarballs X-Git-Tag: curl-8_7_0~200 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf5f604229bb9fab4421ec0e498aaf2767feb335;p=thirdparty%2Fcurl.git docs: make sure curl.1 is included in dist tarballs Ref: https://github.com/curl/curl/issues/12832#issuecomment-1933271873 Closes #12892 --- diff --git a/docs/Makefile.am b/docs/Makefile.am index d9bdd176cc..96c876019a 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -34,7 +34,7 @@ endif # EXTRA_DIST breaks with $(abs_builddir) so build it using this variable # but distribute it (using the relative file name) in the next variable man_MANS = $(abs_builddir)/curl.1 -noinst_man_MANS = curl.1 $(MK_CA_DOCS) +noinst_man_MANS = $(MK_CA_DOCS) dist_man_MANS = $(CURLCONF_DOCS) $(MK_CA_DOCS) CURLPAGES = curl-config.md mk-ca-bundle.md @@ -133,3 +133,6 @@ curl-config.1: curl-config.md distclean: rm -f $(CLEANFILES) + +dist-hook: + cp $(builddir)/curl.1 $(builddir)/curl.1.dist