Subversion Repositories Kolibri OS

Rev

Rev 5103 | Rev 5105 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5103 Rev 5104
Line 579... Line 579...
579
  '-A "KolibriOS AutoBuilder" -p "CleverMouse" -publisher "KolibriOS Team" -V "' .. volume_id .. '" -sysid "KOLIBRI" ' ..
579
  '-A "KolibriOS AutoBuilder" -p "CleverMouse" -publisher "KolibriOS Team" -V "' .. volume_id .. '" -sysid "KOLIBRI" ' ..
580
  '-iso-level 3 -o kolibri.iso kolibri.img' .. iso_files_list .. ' 2>&1',
580
  '-iso-level 3 -o kolibri.iso kolibri.img' .. iso_files_list .. ' 2>&1',
581
  outputs = {"kolibri.iso"}}
581
  outputs = {"kolibri.iso"}}
Line 582... Line 582...
582
 
582
 
583
-- generate command and dependencies for distribution kit
583
-- generate command and dependencies for distribution kit
584
cp = "cp %f %o"
584
cp = 'cp "%f" "%o"'
585
tup.definerule{inputs = {"kolibri.img"}, command = cp, outputs = {"distribution_kit/kolibri.img"}}
585
tup.definerule{inputs = {"kolibri.img"}, command = cp, outputs = {"distribution_kit/kolibri.img"}}
586
for i,v in ipairs(distr_extra_files) do
586
for i,v in ipairs(distr_extra_files) do
587
  if string.sub(v[1], -1) == "/"
587
  if string.sub(v[1], -1) == "/"
588
  then tup.definerule{inputs = {v[2]}, command = cp, outputs = {"distribution_kit/" .. v[1] .. tup.file(v[2])}}
588
  then tup.definerule{inputs = {v[2]}, command = cp, outputs = {"distribution_kit/" .. v[1] .. tup.file(v[2])}}