comparison Makefile @ 461:c489fb1015e2

improved output style of "make update" again
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 04 Oct 2009 00:28:22 +0200
parents 7ae0e913675e
children b0cc6cc3c1fc
comparison
equal deleted inserted replaced
460:62e637be1305 461:c489fb1015e2
202 202
203 .PHONY: update 203 .PHONY: update
204 define UPDATE 204 define UPDATE
205 $(if $(2), 205 $(if $(2),
206 $(if $(filter $(2),$($(1)_IGNORE)), 206 $(if $(filter $(2),$($(1)_IGNORE)),
207 $(info IGNORED $(1): $(2)), 207 $(info IGNORED $(1) $(2)),
208 $(if $(filter $(2),$($(1)_VERSION)), 208 $(if $(filter $(2),$($(1)_VERSION)),
209 $(info . $(1): $(2)), 209 $(info . $(1) $(2)),
210 $(info NEW $(1): $(2)) 210 $(info NEW $(1) $(2))
211 $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $(2)/' -i '$(TOP_DIR)/src/$(1).mk' 211 $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $(2)/' -i '$(TOP_DIR)/src/$(1).mk'
212 $(MAKE) -f '$(MAKEFILE)' 'update-checksum-$(1)')), 212 $(MAKE) -f '$(MAKEFILE)' 'update-checksum-$(1)')),
213 $(error Unable to update version number: $(1))) 213 $(error Unable to update version number: $(1)))
214 214
215 endef 215 endef