From: Thierry Parmentelat Date: Tue, 25 May 2010 21:26:46 +0000 (+0200) Subject: cleanup X-Git-Tag: omf-5.3-5~2 X-Git-Url: http://git.onelab.eu/?p=omf.git;a=commitdiff_plain;h=675a6aa7cf0969f50da69432b708298e85682c19 cleanup --- 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))