mk_output_file — Output a file with variable substitutions
MODULES="... core ..."
mk_output_file
INPUT=
source_path
OUTPUT=
dest_path
mk_output_file
dest_path
Processes the given source_path
, substituting
anything of the form @
with the value
of VAR
@VAR
, where VAR
is an output variable
as declared by
.
mk_declare
-o
Both paths are resolved according to the usual target notation
(see mk_resolve_target
). In the most common
usage, the source will be in the source directory and the
destination will be in the object directory.
If the second form is used, the input file is assumed to be
the same as the output file suffixed with .in
.