summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-03-31 09:26:34 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-03-31 09:26:34 (GMT)
commit62d4c8c0ce04bf8278dadc79f680d98c34e681b0 (patch)
treea109e5f6726ee85078f649fa3a503b0a775cfd73 /Makefile
parent75762edd487f22c177ff6bc76336bbd547c7654e (diff)
downloadmxe-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--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8f50978..d29b811 100644
--- a/Makefile
+++ b/Makefile
@@ -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)' \