summaryrefslogtreecommitdiffstats
path: root/dotfiles.mk
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles.mk')
-rw-r--r--dotfiles.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/dotfiles.mk b/dotfiles.mk
index 0d1e70b..892c5b5 100644
--- a/dotfiles.mk
+++ b/dotfiles.mk
@@ -55,7 +55,8 @@ $(install-objects): install-%: %
@$(if $(call newer,$*), \
echo -e "$(FG_GRE)+ $(FG_YEL)$(MKDPREFIX)$* $(CLR_RE)to $(DESTDIR) as $(MODE)"; \
install -pDm $(MODE) "$*" "$(DESTDIR)/$*", \
- echo -e "$(FG_RED)- $(FG_YEL)$(MKDPREFIX)$*$(CLR_RE)")
+ $(if $(call older,$*) ,\
+ echo -e "$(FG_RED)- $(FG_YEL)$(MKDPREFIX)$*$(CLR_RE)"))
$(install-modules): install-%:
@$(MAKE) -s -C $* install MKDPREFIX=$(MKDPREFIX)$*/