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