You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This test patch to docs/Makefile.in worked for me.
diff --git a/curl-7.63.0/docs/Makefile.in b/curl-7.63.0/docs/Makefile.in
index 5abb20ac3..e7153493d 100644
--- a/curl-7.63.0/docs/Makefile.in+++ b/curl-7.63.0/docs/Makefile.in@@ -886,7 +886,7 @@ uninstall-man: uninstall-man1
# 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)
I'm not sure if it's copacetic to use $(INSTALL_DATA) in docs/Makefile.am (I don't know Autotools well enough), but it does work. I tried updating docs/Makefile.am to use $(INSTALL_DATA) instead of cp -fp. Then automake generated the correct docs/Makefile.in that I expected.
jzinn
pushed a commit
to jzinn/curl
that referenced
this issue
Feb 4, 2019
I did this
Building curl on NFS gives this error message:
The failing
cp
command comes fromdocs/Makefile.am
:Perhaps using
install
with specified permissions instead ofcp --preserve
would be better.I expected the following
The install command (
cp
) to succeed with error code0
.curl/libcurl version
From my machine, not the build machine:
operating system
The build machine is CentOS 5 or 6.
The text was updated successfully, but these errors were encountered: