summaryrefslogtreecommitdiffstats
path: root/dotfiles.mk
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-03-31 01:52:19 +0100
committerGravatar Tom Willemsen2013-03-31 01:52:19 +0100
commit51d121158687a5965ed28ecb4043f85c066a502a (patch)
tree0282fc375afd9f270be87941bee217257e7b2a7c /dotfiles.mk
parent752c0436b1b6017baedd752a4d676973a6f2ab87 (diff)
downloaddotfiles-51d121158687a5965ed28ecb4043f85c066a502a.tar.gz
dotfiles-51d121158687a5965ed28ecb4043f85c066a502a.zip
Don't show status for equals
If the installed and local file are the same, don't show that it's not being installed, only show not installing older files during install.
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)$*/