New DownloadFile rule, downloading a file using wget.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22181 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-09-05 03:08:38 +00:00
parent 97d5bb2bf3
commit 16df02e515

View File

@ -273,3 +273,15 @@ actions DataFileToSourceFile1
$(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR)
$(2[1]) $(DATA_VARIABLE) $(SIZE_VARIABLE) $(2[2]) $(1)
}
rule DownloadFile target : url
{
URL on $(target) = $(url) ;
DownloadFile1 $(target) ;
}
actions DownloadFile1
{
wget -O $(1) $(URL)
}