Commit 4a68ee59 authored by Nils Goroll's avatar Nils Goroll

avoid hardlinking in case srcdir and builddir are on different filesystems

parent f618626d
......@@ -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:
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment