JamPlus manual
File Copy Rules
IncludeModule copyfile ;

List of Rules

Rules


rule CopyFile PARENTS : TARGET : SOURCE

Copies the file SOURCE to TARGET.

Parameters
PARENTSThe parent target to link the file copy dependency to.
TARGETThe destination path for the file copy.
SOURCEThe 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 ;