X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=221dd517f0b42602f8b5c8743ca111ae11c75d2c;hb=675a6aa7cf0969f50da69432b708298e85682c19;hp=e5a7b988bfcf4c9412f0038b8fc440cc40812f61;hpb=b43e5b8a6da765ea993f24dcd601f0ce826309ea;p=omf.git diff --git a/Makefile b/Makefile index e5a7b98..221dd51 100644 --- a/Makefile +++ b/Makefile @@ -48,29 +48,11 @@ $($(1)): echo "In Makefile: $($(1)-SHA1SUM)" ; \ false ; \ else \ - Ls -l $($(1)) ; \ + ls -l $($(1)) ; \ fi 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))