0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-28 19:58:53 +02:00

include/ircd/Makefile: Use cp -u to elide unnecessary copy for faster make install.

This commit is contained in:
Jason Volk 2022-05-31 14:07:25 -07:00
parent 4d207e3edc
commit e43b3f5fd6

View file

@ -110,6 +110,6 @@ install: install-mkdirs
@for i in $(srcdir)/*; do \
if [[ "$$i" != "./Makefile"* ]] && [[ "$$i" != *.h.gch ]]; then \
echo "installing $$i to $(DESTDIR)$(includedir)"; \
cp -r $$i $(DESTDIR)$(includedir); \
cp -u -r $$i $(DESTDIR)$(includedir); \
fi \
done