xref: /haiku/src/data/bin/Jamfile (revision 9e15c9f153c5ffff9ad51b95b581326eb579b0fd)
1*9e15c9f1SHumdingerSubDir HAIKU_TOP src data bin ;
2*9e15c9f1SHumdinger
3*9e15c9f1SHumdingerrule PrepareScriptWithIcon file : iconFile
4*9e15c9f1SHumdinger{
5*9e15c9f1SHumdinger	local source = [ FGristFiles $(file) ] ;
6*9e15c9f1SHumdinger	local icon = [ FGristFiles $(iconFile) ] ;
7*9e15c9f1SHumdinger	SEARCH on $(icon) = [ FDirName $(HAIKU_TOP) src data bin ] ;
8*9e15c9f1SHumdinger	local target = $(source:G=) ;
9*9e15c9f1SHumdinger	MakeLocateCommonPlatform $(target) ;
10*9e15c9f1SHumdinger	File $(target) : $(source) ;
11*9e15c9f1SHumdinger	MODE on $(target) = 755 ;
12*9e15c9f1SHumdinger	AddFileDataAttribute $(target) : BEOS:ICON : icon : $(icon) ;
13*9e15c9f1SHumdinger}
14*9e15c9f1SHumdinger
15*9e15c9f1SHumdingerPrepareScriptWithIcon quicktour : Alert_Idea.hvif ;
16*9e15c9f1SHumdingerPrepareScriptWithIcon userguide : Misc_Book.hvif ;
17