diff options
author | jlam <jlam@pkgsrc.org> | 2003-08-27 11:24:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-08-27 11:24:37 +0000 |
commit | b81c512e4febfed6ab263973ebf7917e9785956f (patch) | |
tree | 5fb31785221f1f5f2df4f268c3378e5dfd948b3b /inputmethod | |
parent | 5ac60050052930705a48cb951afeab0cdda4c349 (diff) | |
download | pkgsrc-b81c512e4febfed6ab263973ebf7917e9785956f.tar.gz |
subst.mk is a Makefile fragment that implements a general text replacement
facility for different classes of files in ${WRKSRC}. For each class of
files, a target <class>-subst is created to perform the text replacement.
The following variables are used:
SUBST_STAGE.<class>
"stage" at which we do the text replacement, e.g. pre-configure,
post-build, etc.
SUBST_MESSAGE.<class>
message to display, noting what is being substituted
SUBST_FILES.<class>
files on which to run the substitution; these are relative to
${WRKSRC}
SUBST_SED.<class>
sed(1) substitution expression to run on the specified files
This basically extracts a useful piece of code from bsd.buildlink2.mk and
puts it in a place that allows it to be more widely used, and so that the
functionality doesn't depend on USE_BUILDLINK2 being defined.
Diffstat (limited to 'inputmethod')
0 files changed, 0 insertions, 0 deletions