dmake
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
man/dmake.nc view on Meta::CPAN
each time the .PHONY attributed prerequisite is made.
.PRECIOUS Do not remove associated target under any circumstances.
Set by default for any targets whose corresponding files
exist in the file system prior to the execution of dmake.
.PROLOG Insert shell prolog code when executing a group recipe
associated with any target having this attribute set.
.SEQUENTIAL Force a sequential make of the associated target's prereq-
uisites. If set as a global attribute this implies setting
MAXPROCESS=1.
.SETDIR Change current working directory to specified directory
when making the associated target. You must specify the
directory at the time the attribute is specified. To do
this simply give .SETDIR=path as the attribute. path is
expanded and the result is used as the value of the direc-
tory to change to. If path contains $$@ then the name of
the target to be built is used in computing the path to
change directory to. If path is surrounded by single
quotes then path is not expanded, and is used literally as
the directory name. If the path contains any `:' charac-
ters then the entire attribute string must be quoted using
". If a target having this attribute set also has the
.IGNORE attribute set then if the change to the specified
directory fails it will be ignored, and no error message
will be issued.
.SILENT Do not echo the recipe lines when making any target with
this attribute set, and do not issue any warnings.
.SWAP Under MSDOS when making a target with this attribute set
swap the dmake executable to disk prior to executing the
recipe line. Also see the '%' recipe line flag defined in
the RECIPES section.
.SYMBOL Target is a library member and is an entry point into a
module in the library. This attribute is used only when
searching a library for a target. Targets of the form
lib((entry)) have this attribute set automatically.
.USESHELL Force each recipe line of a target to be executed using a
shell. Specifying this attribute is equivalent to
Dmake Version 4.12 2008-02-26 12
DMAKE(1) DMAKE(1)
specifying the '+' character at the start of each line of a
non-group recipe.
.UPDATEALL Indicates that all the targets listed in this rule are
updated by the execution of the accompanying recipe. A
common example is the production of the y.tab.c and y.tab.h
files by yacc when it is run on a grammar. Specifying
.UPDATEALL in such a rule prevents the running of yacc
twice, once for the y.tab.c file and once for the y.tab.h
file. .UPDATEALL targets that are specified in a single
rule are treated as a single target and all timestamps are
updated whenever any target in the set is made. As a side-
effect, dmake internally sorts such targets in ascending
alphabetical order and the value of $@ is always the first
target in the sorted set.
.WINPATH Switch between default (POSIX) and Windows style path rep-
resentation. (This attribute is specific for cygwin dmake
executables and non-cygwin environments ignore this
attribute.)
Under Cygwin it can be useful to generate Windows style
paths (with regular slashes) instead of the default cygwin
style (POSIX) paths for dmake's dynamic macros. The
affected macros are $@, $*, $>, $?, $<, $&, $^ and
$(MAKEDIR), $(PWD), $(TMD), $(TMPFILE) and the $(mktmp ...)
function macro. This feature can be used to create DOS
style path parameters for native W32 programs from dynamic
macros.
Note that the Windows style paths use regular slashes ('/')
instead of the usual Windows backslash ('\') as directory
separator to avoid quoting problems (after all it is still
a cygwin dmake!) and cygwin, as well as native Windows,
programs should have no problems using this (c:/foo/bar)
path representation.
Example: Assuming the current target to be /tmp/mytarget
the $@ macro without .WINPATH active expands to:
/tmp/mytarget
With .WINPATH set it expands to:
C:/cygwin/tmp/mytarget
All attributes are user setable and except for .UPDATEALL and .MKSARGS
may be used in one of two forms. The .MKSARGS attribute is restricted
to use as a global attribute, and the use of the .UPDATEALL attribute
is restricted to rules of the second form only.
ATTRIBUTE_LIST : targets
assigns the attributes specified by ATTRIBUTE_LIST to each target in
targets or
targets ATTRIBUTE_LIST : ...
Dmake Version 4.12 2008-02-26 13
DMAKE(1) DMAKE(1)
assigns the attributes specified by ATTRIBUTE_LIST to each target in
targets. In the first form if targets is empty (ie. a NULL list), then
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.430 second using v1.00-cache-2.02-grep-82fe00e-cpan-1925d2aa809 )