chiark
/
gitweb
/
~mdw
/
preload-hacks
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9555bb4
)
Makefile (distdir): Copy files rather than linking.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 6 Jun 2018 20:57:56 +0000
(21:57 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 6 Jun 2018 23:54:36 +0000
(
00:54
+0100)
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.
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 9733bc1c4a1abe344ebb8170ffd0b82aab8a7b67..abff79982a44bed62d5864628e7f171239cf6c30 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-185,7
+185,7
@@
distdir:
d=$${i%/*} && $(MKDIRS) $(distdir)/$$d || exit 1 \
;; \
esac; \
d=$${i%/*} && $(MKDIRS) $(distdir)/$$d || exit 1 \
;; \
esac; \
-
ln
$$i $(distdir)/$$i || exit 1; \
+
cp
$$i $(distdir)/$$i || exit 1; \
done
.PHONY: distdir
done
.PHONY: distdir