From cf5f604229bb9fab4421ec0e498aaf2767feb335 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 8 Feb 2024 07:58:09 +0100 Subject: [PATCH] docs: make sure curl.1 is included in dist tarballs Ref: https://github.com/curl/curl/issues/12832#issuecomment-1933271873 Closes #12892 --- docs/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.47.3