[master] 4a68ee5 avoid hardlinking in case srcdir and builddir are on different filesystems

Nils Goroll nils.goroll at uplex.de
Wed Dec 7 15:31:05 CET 2016


commit 4a68ee59f7ea39762a4b4358715d6c85e1a5bc85
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Dec 7 14:37:55 2016 +0100

    avoid hardlinking in case srcdir and builddir are on different filesystems

diff --git a/doc/graphviz/Makefile.am b/doc/graphviz/Makefile.am
index 233783c..f135000 100644
--- a/doc/graphviz/Makefile.am
+++ b/doc/graphviz/Makefile.am
@@ -12,7 +12,7 @@ link_srcdir:
 	   test ! -f $(builddir)/cache_http1_fsm.svg ; then \
 		d=`pwd`/$(builddir) ; \
 		cd $(srcdir) && find . -name \*.svg -type f | \
-		cpio -ldmp $${d} || true ; \
+		cpio -dmp $${d} || true ; \
 	fi
 
 dist-hook:
diff --git a/doc/sphinx/Makefile.am b/doc/sphinx/Makefile.am
index 424ebb7..9001cb8 100644
--- a/doc/sphinx/Makefile.am
+++ b/doc/sphinx/Makefile.am
@@ -32,7 +32,7 @@ clean:
 link_srcdir:
 	if test "x$(srcdir)" != "x$(builddir)" && test ! -f index.rst ; then \
 		d=`pwd`/$(builddir) ; \
-		cd $(srcdir) && find . -type f | cpio -ldmp $${d} || true ; \
+		cd $(srcdir) && find . -type f | cpio -dmp $${d} || true ; \
 	fi
 
 # work around for make html called within doc/sphinx



More information about the varnish-commit mailing list