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:
parent
97d5bb2bf3
commit
16df02e515
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user