From: Julian Z Date: Mon, 4 Feb 2019 00:11:40 +0000 (-0800) Subject: docs: use $(INSTALL_DATA) to install man page X-Git-Tag: curl-7_64_0~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2568441cab;p=thirdparty%2Fcurl.git docs: use $(INSTALL_DATA) to install man page Fixes #3518 Closes #3522 --- diff --git a/docs/Makefile.am b/docs/Makefile.am index 0183f1af5b..dadf64f384 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -95,7 +95,7 @@ SUFFIXES = .1 .html .pdf # have changed. $(abs_builddir)/curl.1: if test "$(top_builddir)x" != "$(top_srcdir)x" -a -e "$(srcdir)/curl.1"; then \ - cp -fp "$(srcdir)/curl.1" $@; fi + $(INSTALL_DATA) "$(srcdir)/curl.1" $@; fi cd cmdline-opts && $(MAKE) html: $(HTMLPAGES)