From e43b3f5fd6bc6a1c52e5e541556eb78ab564e4bd Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 31 May 2022 14:07:25 -0700 Subject: [PATCH] include/ircd/Makefile: Use cp -u to elide unnecessary copy for faster make install. --- include/ircd/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ircd/Makefile.am b/include/ircd/Makefile.am index 505c20216..f55feaa1f 100644 --- a/include/ircd/Makefile.am +++ b/include/ircd/Makefile.am @@ -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