summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-12-06 13:05:31 +0100
committerGravatar Tom Willemsen2012-12-06 13:05:31 +0100
commitc8e48de3012dea209e3a468bd0d39698f0294d89 (patch)
treec97f4f060862257d8a9e2d94d2c39f8e1b02dda0
parent1e84d8bee4615c6ba54119c1c18d1c9b5f437fb1 (diff)
downloaddotfiles-c8e48de3012dea209e3a468bd0d39698f0294d89.tar.gz
dotfiles-c8e48de3012dea209e3a468bd0d39698f0294d89.zip
Show when a file is not being installed
-rw-r--r--dotfiles.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/dotfiles.mk b/dotfiles.mk
index 19be79f..53546bd 100644
--- a/dotfiles.mk
+++ b/dotfiles.mk
@@ -33,7 +33,9 @@ $(modules): %:
@$(MAKE) -C $*
$(install-objects): install-%: %
- $(if $(call newer,$*),install -pDm $(MODE) "$*" "$(DESTDIR)/$*")
+ $(if $(call newer,$*), \
+ install -pDm $(MODE) "$*" "$(DESTDIR)/$*", \
+ @echo -e "$(FG_YEL)$*$(CLR_RE) is $(FG_RED)not newer$(CLR_RE)")
$(install-modules): install-%:
@$(MAKE) -C $* install