From: thierry Date: Tue, 9 Mar 2010 11:54:32 +0000 (+0000) Subject: disable sha1sum checking as the NICTA version evolves X-Git-Tag: omf-5.3-1~3 X-Git-Url: http://git.onelab.eu/?p=omf.git;a=commitdiff_plain;h=6f1f973183381ba6930c75fec0f6a7a42ea1e722 disable sha1sum checking as the NICTA version evolves --- diff --git a/Makefile b/Makefile index 0c3bbe0..b33f885 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,22 @@ all: $(ALL) .PHONY: all ############################## +#define download_target +#$(1): $($(1)) +#.PHONY: $($(1)) +#$($(1)): +# @if [ ! -e "$($(1))" ] ; then echo "$(WEBFETCH) $($(1)-URL)" ; $(WEBFETCH) $($(1)-URL) ; fi +# @if [ ! -e "$($(1))" ] ; then echo "Could not download source file: $($(1)) does not exist" ; exit 1 ; fi +# @if test "$$$$($(SHA1SUM) $($(1)) | awk '{print $$$$1}')" != "$($(1)-SHA1SUM)" ; then \ +# echo "sha1sum of the downloaded $($(1)) does not match the one from 'Makefile'" ; \ +# echo "Local copy: $$$$($(SHA1SUM) $($(1)))" ; \ +# echo "In Makefile: $($(1)-SHA1SUM)" ; \ +# false ; \ +# else \ +# ls -l $($(1)) ; \ +# fi +#endef + define download_target $(1): $($(1)) .PHONY: $($(1)) @@ -39,7 +55,8 @@ $($(1)): echo "sha1sum of the downloaded $($(1)) does not match the one from 'Makefile'" ; \ echo "Local copy: $$$$($(SHA1SUM) $($(1)))" ; \ echo "In Makefile: $($(1)-SHA1SUM)" ; \ - false ; \ + echo "Proceeding anyway .. " ; \ + ls -l $($(1)) ; \ else \ ls -l $($(1)) ; \ fi