show status information during 'make update'

This commit is contained in:
Volker Grabsch 2008-11-08 18:58:00 +01:00
parent 1c22349f2d
commit 71e6d38451
1 changed files with 4 additions and 3 deletions

View File

@ -80,9 +80,10 @@ clean:
.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: