Skip to content

Commit

Permalink
Makefile: alert when an older verison is found during update
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytheodore committed Mar 31, 2013
1 parent 75762ed commit 62d4c8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Expand Up @@ -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)' \
Expand Down

0 comments on commit 62d4c8c

Please sign in to comment.