From: Brian Norris Date: Thu, 7 Jul 2011 20:44:27 +0000 (-0700) Subject: Makefile: show nice message when checking version.h X-Git-Tag: v1.4.7~34 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f1fe865bc582649c85f4ece1baf2905f877d3964;p=mtd-utils.git Makefile: show nice message when checking version.h Signed-off-by: Brian Norris Acked-by: Mike Frysinger Signed-off-by: Artem Bityutskiy --- diff --git a/Makefile b/Makefile index bc3ee6d..67e42ce 100644 --- a/Makefile +++ b/Makefile @@ -71,6 +71,7 @@ cscope: cscope -bR $(BUILDDIR)/include/version.h: $(BUILDDIR)/include/version.h.tmp + $(call BECHO,CHK) $(Q)cmp -s $@ $@.tmp && rm -f $@.tmp || mv $@.tmp $@ $(BUILDDIR)/include/version.h.tmp: ${Q}mkdir -p $(dir $@)