diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-09-20 12:36:46 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-09-20 12:36:46 (GMT) |
commit | f162381b1a406c895277b9950559ec5fca3fdd92 (patch) | |
tree | 07f172565d40862eb68d9279f2d80ea86dbe8cd2 /Makefile | |
parent | 4bf7a58c9e319c3495e1a32ce5a0a260e0ef2ebc (diff) | |
download | mxe-f162381b1a406c895277b9950559ec5fca3fdd92.zip mxe-f162381b1a406c895277b9950559ec5fca3fdd92.tar.gz mxe-f162381b1a406c895277b9950559ec5fca3fdd92.tar.bz2 |
improved version recognition, enable the notation of ignored (bad) package versions
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -203,11 +203,13 @@ clean-pkg: .PHONY: update define UPDATE $(if $(2), - $(info $(1): $(2)) - $(if $(filter $(2),$($(1)_VERSION)), - , - $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $(2)/' -i '$(TOP_DIR)/src/$(1).mk' - $(MAKE) -f '$(MAKEFILE)' 'update-checksum-$(1)'), + $(if $(filter $(2),$($(1)_IGNORE)), + $(info $(1): $(2) ignored), + $(if $(filter $(2),$($(1)_VERSION)), + $(info $(1): $(2)), + $(info $(1): $(2) NEW) + $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $(2)/' -i '$(TOP_DIR)/src/$(1).mk' + $(MAKE) -f '$(MAKEFILE)' 'update-checksum-$(1)')), $(error Unable to update version number: $(1))) endef |