File Copy Rules

    IncludeModule copyfile ;

List of Rules

Rules


rule CopyFile PARENTS : TARGET : SOURCE

Copies the file SOURCE to TARGET.

Parameters:
PARENTS The parent target to link the file copy dependency to.
TARGET The destination path for the file copy.
SOURCE The source path for the file copy.
    # For the lua-ex target, copy $(SUBDIR)/w32api/reg.lua to $(LUA_LDIR)/windows/reg.lua.
    CopyFile lua-ex : $(LUA_LDIR)/windows/reg.lua : $(SUBDIR)/w32api/reg.lua ;