0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-29 04:08:54 +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 \ @for i in $(srcdir)/*; do \
if [[ "$$i" != "./Makefile"* ]] && [[ "$$i" != *.h.gch ]]; then \ if [[ "$$i" != "./Makefile"* ]] && [[ "$$i" != *.h.gch ]]; then \
echo "installing $$i to $(DESTDIR)$(includedir)"; \ echo "installing $$i to $(DESTDIR)$(includedir)"; \
cp -r $$i $(DESTDIR)$(includedir); \ cp -u -r $$i $(DESTDIR)$(includedir); \
fi \ fi \
done done