haiku/build/jam/CDRules

20 lines
512 B
Plaintext

rule BuildHaikuCD haikuCD : bootFloppy : scripts
{
# BuildHaikuCD <haiku cd> : <bootFloppy> : <scripts> ;
local mainScript = build_haiku_image ;
SEARCH on $(mainScript) = [ FDirName $(HAIKU_TOP) build scripts ] ;
Depends $(haikuCD) : $(mainScript) $(scripts) ;
Depends $(haikuCD) : $(bootFloppy) ;
BuildHaikuCD1 $(haikuCD) : $(bootFloppy) $(mainScript)
$(scripts:R=$(HAIKU_ABSOLUTE_OUTPUT_DIR)) ;
}
actions BuildHaikuCD1
{
export cdImagePath="$(1)"
export cdBootFloppy="$(2[1])"
$(2[2]) $(2[3-])
}