changeset 130:d7e4464a369d

show status information during 'make update'
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 08 Nov 2008 18:58:00 +0100
parents 9fb896207491
children ed98f6b98e35
files Makefile
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Nov 08 18:46:08 2008 +0100
+++ b/Makefile	Sat Nov 08 18:58:00 2008 +0100
@@ -80,9 +80,10 @@
 
 .PHONY: update
 define UPDATE
-        $(if $(2), \
-            $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $(2)/' -i src/$(1).mk, \
-            $(error Unable to update version number: $(1)))
+    $(if $(2), \
+        $(info $(1): $(2)) \
+        $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $(2)/' -i src/$(1).mk, \
+        $(error Unable to update version number: $(1)))
 
 endef
 update: