X-Git-Url: http://git.onelab.eu/?p=drupal.git;a=blobdiff_plain;f=Makefile;h=eca05f176205105e75e1afc3fefa0113bbe06f4f;hp=654dd3458163488c8f01f8804b77ab65f3d93d3f;hb=6448e7be1872227ec377ad1d45d3af29c5fa49e6;hpb=6808751e923b79798619a382a3bf54402ab6cf68 diff --git a/Makefile b/Makefile index 654dd34..eca05f1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -WEBFETCH := curl -H Pragma: -O -R -S --fail --show-error +WEBFETCH := curl -H Pragma: -R -S --fail --show-error SHA1SUM := sha1sum version=4.7.11 @@ -28,7 +28,7 @@ define download_target $(1): $($(1)) .PHONY: $(1) $($(1)): - @if [ ! -e "$($(1))" ] ; then echo "$(WEBFETCH) $($(1)-URL1)" ; $(WEBFETCH) $($(1)-URL1) -o $($(1)); fi + @if [ ! -e "$($(1))" ] ; then $(WEBFETCH) $($(1)-URL1) -o $($(1)); 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'" ; \