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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2568441cabc30f32b34bc36b5706b4d57f3a090a;p=curl docs: use $(INSTALL_DATA) to install man page Fixes #3518 Closes #3522 --- diff --git a/docs/Makefile.am b/docs/Makefile.am index 0183f1af5..dadf64f38 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)