Servertec | iScriptMake | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
iScript make can be used to generate pages only when needed. Syntaxmk { -v{erbose} }{ { -a{ll} } { -f{ile} makefile } { target }Parameters-verbose display verbose error messages, useful when debugging iScript make files. -all make all targets-file specify make file makefile the name of the file to make makefile if none specified target the target to make all if none specified Returnsreturncode 0 if no errors occured.-1 if an error occured. NotesMake file use the following syntax:Commands# commentvariable = value Macros$(variable)Rules.sourceextension.targetextension:command ... Rule Macros$s dependency file c:\work\prog.c$d dependency drive c: $p dependency path c:\work\ $f dependency file name prog.c $b dependency file base prog $e dependency file extension c $@ target c:\work\prog.exe $* target base path c:\work\prog $** dependencies $? newer dependencies $< newer dependencies Targetstarget: srcfile { depfile }...Example
mk -a mk -f doc.mak Example
dep = template.inc .ctf.html:
all: index.html exit.html links.html index.html: index.ctf exit.html: exit.ctf $(dep) links.html: links.ctf $(dep) |
|
top of page
|