xref: /haiku/build/jam/CDRules (revision 4466b89c65970de4c7236ac87faa2bee4589f413)
1rule BuildHaikuCD haikuCD : bootFloppy : scripts
2{
3	# BuildHaikuCD <haiku cd> : <bootFloppy> : <scripts> ;
4
5	local mainScript = build_haiku_image ;
6	SEARCH on $(mainScript) = [ FDirName $(HAIKU_TOP) build scripts ] ;
7
8	Depends $(haikuCD) : $(mainScript) $(scripts) ;
9	Depends $(haikuCD) : $(bootFloppy) ;
10	BuildHaikuCD1 $(haikuCD) : $(bootFloppy) $(mainScript) $(scripts) ;
11}
12
13actions BuildHaikuCD1
14{
15	export cdImagePath="$(1)"
16	export cdBootFloppy="$(2[1])"
17	$(2[2]) $(2[3-])
18}
19