2009-02-15 05:34:32 +03:00
|
|
|
rule BuildHaikuCD haikuCD : bootFloppy : scripts
|
|
|
|
{
|
|
|
|
# BuildHaikuCD <haiku cd> : <bootFloppy> : <scripts> ;
|
|
|
|
|
2010-04-11 03:14:42 +04:00
|
|
|
local mainScript = build_haiku_image ;
|
2009-02-15 05:34:32 +03:00
|
|
|
SEARCH on $(mainScript) = [ FDirName $(HAIKU_TOP) build scripts ] ;
|
|
|
|
|
|
|
|
Depends $(haikuCD) : $(mainScript) $(scripts) ;
|
|
|
|
Depends $(haikuCD) : $(bootFloppy) ;
|
2018-11-03 06:26:11 +03:00
|
|
|
BuildHaikuCD1 $(haikuCD) : $(bootFloppy) $(mainScript)
|
|
|
|
$(scripts:R=$(HAIKU_ABSOLUTE_OUTPUT_DIR)) ;
|
2009-02-15 05:34:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
actions BuildHaikuCD1
|
|
|
|
{
|
|
|
|
export cdImagePath="$(1)"
|
|
|
|
export cdBootFloppy="$(2[1])"
|
|
|
|
$(2[2]) $(2[3-])
|
|
|
|
}
|