[master] b499bec ignore cpio errors for our srcdir to builddir fixup

Nils Goroll nils.goroll at uplex.de
Mon Nov 21 17:56:04 CET 2016


commit b499bec9bd7bca1c3aff9bf23a133295458c4adc
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Nov 21 17:52:41 2016 +0100

    ignore cpio errors for our srcdir to builddir fixup
    
    This should make distcheck happy on SmartOS

diff --git a/doc/graphviz/Makefile.am b/doc/graphviz/Makefile.am
index dfbf7ab..6de1705 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} ; \
+		cpio -ldmp $${d} || true ; \
 	fi
 
 dist-hook:
diff --git a/doc/sphinx/Makefile.am b/doc/sphinx/Makefile.am
index c88b46b..424ebb7 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} ; \
+		cd $(srcdir) && find . -type f | cpio -ldmp $${d} || true ; \
 	fi
 
 # work around for make html called within doc/sphinx



More information about the varnish-commit mailing list