xref: /haiku/build/jam/CDRules (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
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