cleanup
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 25 May 2010 21:26:46 +0000 (23:26 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 25 May 2010 21:26:46 +0000 (23:26 +0200)
Makefile

index 23785d0..221dd51 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -53,24 +53,6 @@ $($(1)):
 CLEAN += $($(1))
 endef
 
 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))
 $(eval $(call download_target,omf-resctl))
 $(eval $(call download_target,omf-common))
 $(eval $(call download_target,liblog4r))