]> granicus.if.org Git - curl/commitdiff
docs: use $(INSTALL_DATA) to install man page
authorJulian Z <julianz@example.com>
Mon, 4 Feb 2019 00:11:40 +0000 (16:11 -0800)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 4 Feb 2019 22:39:18 +0000 (23:39 +0100)
Fixes #3518
Closes #3522

docs/Makefile.am

index 0183f1af5b44f7f6a09c9d87320722d76b7862db..dadf64f384cefa76c2d48e57984afe3d44c3572c 100644 (file)
@@ -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)