ltarget - report targets from a open-lmake job
ltarget [OPTION]... [FILE]...
ltarget may be used to pass flags to open-lmake. Unless specified otherwise, passed targets are allowed to be written to.
Note that :
• |
Flags can be passed in (cf OPTIONS below). Flags accumulate and will apply even if the file is independently accessed. | ||
• |
Targets are reported even if the autodep method (the autodep rule attribute) is none. This is the way (or a call to lmake.target) of reporting targets in such a case (usually with --write). |
Symlobic links are not followed when files are interpreted. Following symbolic links would inevitably lead to files being read (to check if they are symbolic links) before being a target, which would be an error.
-E, --essential
Show when generating user oriented graphs.
-i, --incremental
Targets are not unlinked before job execution and read accesses to them are ignored.
-w, --no-warning
No warning is emitted if targets are either uniquified or unlinked while generated by another job.
-I, --ignore
From now on, ignore all reads and writes to targets.
-a, --no-allow
Unless this option is passed, ltarget makes its arguments valid targets (cf @pxref{targets-deps}).
-s, --source-ok
Unless this option is passed, ltarget writing to a source is an error.
-W, --write
Report an actual write, not only target flags. Default is to only alter flags.
-X, --regexpr
Pass flags to all targets matching regexprs passed as argument. The ignore flag only applies to targets following this command.
lautodep(1), lcheck_deps(1), ldebug(1), ldecode(1), ldepend(1), lencode(1), lforget(1), lmake(1), lmark(1), lrepair(1), lrun_cc(1), lshow(1), xxhsum(1)
The python module lmake.
The full open-lmake documentation in <open-lmake-installation-dir>/docs/index.html.
Copyright © 2023-2025, Doliam. This file is part of open-lmake.
open-lmake is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License.
open-lmake is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.