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:
@@ -273,3 +273,15 @@ actions DataFileToSourceFile1
|
|||||||
$(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR)
|
$(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR)
|
||||||
$(2[1]) $(DATA_VARIABLE) $(SIZE_VARIABLE) $(2[2]) $(1)
|
$(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)
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user