]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: make sure curl.1 is included in dist tarballs
authorDaniel Stenberg <daniel@haxx.se>
Thu, 8 Feb 2024 06:58:09 +0000 (07:58 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 8 Feb 2024 10:10:14 +0000 (11:10 +0100)
Ref: https://github.com/curl/curl/issues/12832#issuecomment-1933271873

Closes #12892

docs/Makefile.am

index d9bdd176cce5845f8227759d3918a5f670de50d2..96c876019aa21c205caf9023cb9d539f403f0cf7 100644 (file)
@@ -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