X-Git-Url: http://git.onelab.eu/?p=omf.git;a=blobdiff_plain;f=Makefile;h=221dd517f0b42602f8b5c8743ca111ae11c75d2c;hp=23785d0957544221247979c70652da64a7525fda;hb=675a6aa7cf0969f50da69432b708298e85682c19;hpb=253b72a1718b9c51e7511d0e2435115e8cf33dfa diff --git a/Makefile b/Makefile index 23785d0..221dd51 100644 --- a/Makefile +++ b/Makefile @@ -53,24 +53,6 @@ $($(1)): CLEAN += $($(1)) endef -#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)" ; \ -# echo "Proceeding anyway .. " ; \ -# ls -l $($(1)) ; \ -# else \ -# ls -l $($(1)) ; \ -# fi -#CLEAN += $($(1)) -#endef - $(eval $(call download_target,omf-resctl)) $(eval $(call download_target,omf-common)) $(eval $(call download_target,liblog4r))