docs: make sure curl.1 is included in dist tarballs

Ref: https://github.com/curl/curl/issues/12832#issuecomment-1933271873

Closes #12892
This commit is contained in:
Daniel Stenberg 2024-02-08 07:58:09 +01:00
parent 505f43c947
commit cf5f604229
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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