From: Mark Wooding Date: Wed, 6 Jun 2018 20:57:56 +0000 (+0100) Subject: Makefile (distdir): Copy files rather than linking. X-Git-Tag: 1.2.0~9 X-Git-Url: https://git.distorted.org.uk/~mdw/preload-hacks/commitdiff_plain/b395b938146a104c8ba88b1d50cffc89054cbb0f Makefile (distdir): Copy files rather than linking. Linking will hardlink symlinks, and that won't end well. All our files are tiny, so it's not worth worrying about the performance effect. --- diff --git a/Makefile b/Makefile index 9733bc1..abff799 100644 --- a/Makefile +++ b/Makefile @@ -185,7 +185,7 @@ distdir: d=$${i%/*} && $(MKDIRS) $(distdir)/$$d || exit 1 \ ;; \ esac; \ - ln $$i $(distdir)/$$i || exit 1; \ + cp $$i $(distdir)/$$i || exit 1; \ done .PHONY: distdir