Mercurial > mxe-octave
changeset 519:99a330c048df
bugfix for "make update": avoid silent package update failures
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 28 Oct 2009 13:36:27 +0100 |
parents | 7f6a2f90a32c |
children | 9294e8fad5e9 |
files | Makefile |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Oct 28 04:16:38 2009 +0100 +++ b/Makefile Wed Oct 28 13:36:27 2009 +0100 @@ -210,7 +210,8 @@ $(info NEW $(1) $($(1)_VERSION) --> $(2)) $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $(2)/' -i '$(TOP_DIR)/src/$(1).mk' $(MAKE) -f '$(MAKEFILE)' 'update-checksum-$(1)' \ - || $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $($(1)_VERSION)/' -i '$(TOP_DIR)/src/$(1).mk')), + || { $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $($(1)_VERSION)/' -i '$(TOP_DIR)/src/$(1).mk'; \ + exit 1; })), $(error Unable to update version number: $(1))) endef