diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-03-31 09:26:34 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-03-31 09:26:34 (GMT) |
commit | 62d4c8c0ce04bf8278dadc79f680d98c34e681b0 (patch) | |
tree | a109e5f6726ee85078f649fa3a503b0a775cfd73 /Makefile | |
parent | 75762edd487f22c177ff6bc76336bbd547c7654e (diff) | |
download | mxe-62d4c8c0ce04bf8278dadc79f680d98c34e681b0.zip mxe-62d4c8c0ce04bf8278dadc79f680d98c34e681b0.tar.gz mxe-62d4c8c0ce04bf8278dadc79f680d98c34e681b0.tar.bz2 |
Makefile: alert when an older verison is found during update
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -231,7 +231,9 @@ define UPDATE $(if $(filter $(2),$($(1)_IGNORE)), $(info IGNORED $(1) $(2)), $(if $(filter $(2),$(shell printf '$($(1)_VERSION)\n$(2)' | $(SORT) -V | head -1)), - $(info . $(1) $($(1)_VERSION)), + $(if $(filter $(2),$($(1)_VERSION)), + $(info . $(1) $(2)), + $(info OLD $(1) $($(1)_VERSION) --> $(2) ignoring)), $(info NEW $(1) $($(1)_VERSION) --> $(2)) $(SED) -i 's/\( id="$(1)-version"\)>[^<]*/\1>$(2)/' '$(TOP_DIR)/index.html' $(MAKE) -f '$(MAKEFILE)' 'update-checksum-$(1)' \ |