diff options
author | Manoj Srivastava <srivasta@debian.org> | 2020-05-19 21:29:57 -0700 |
---|---|---|
committer | Manoj Srivastava <srivasta@debian.org> | 2020-05-19 21:29:57 -0700 |
commit | 11948971f110800dc35b4f6fec90cc01bebd6a7e (patch) | |
tree | d69e6f034efc4ace4c2d573a50153b7a875915f1 /mcon/man/mconfig.SH | |
parent | 7c4aad4e01c8278e073d28a5c1f59b12582431c1 (diff) | |
parent | 50ca5b27f2f7c51d062b3a89d334f7243f467078 (diff) |
Merge branch 'master' into dgit/sidHEADdebian/1%3.5-236-1archive/debian/1%3.5-236-1master
Diffstat (limited to 'mcon/man/mconfig.SH')
-rwxr-xr-x | mcon/man/mconfig.SH | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/mcon/man/mconfig.SH b/mcon/man/mconfig.SH index 2f4e33b..112c6f1 100755 --- a/mcon/man/mconfig.SH +++ b/mcon/man/mconfig.SH @@ -32,7 +32,7 @@ $spitshell >metaconfig.$manext <<!GROK!THIS! .\" .\" $Log: mconfig.SH,v $ .\" Revision 3.0.1.17 1997/02/28 16:29:31 ram -.\" patch61: documents the running environment and the src.U unit +.\" patch61: documents the runnning environment and the src.U unit .\" patch61: added warnings for $_a and $_o, as well as "startsh" .\" .\" Revision 3.0.1.16 1995/09/25 09:17:48 ram @@ -1742,6 +1742,25 @@ before prompting via \fIgetfile\fR for instance. If the prefix does not make use of ~name expanstion, then the above will be a no-op on the \fI$dflt\fR variable, naturally. .TP +Specific.U +This unit is empty by default. It is meant as a project-specific hook +to have shell code executed by \fIConfigure\fR after \fIconfig.sh\fR was +generated but before the extraction of .SH files. +.sp +Copy the unit to your project's \fIU/\fR directory and customize it. +.sp +Here is what the \fIdist\fR project uses it for (showing only the unit's code, +not the full unit here): +.Ex +: project-specific code +file=revision.h +echo " " +echo "Generating \$file..." >&4 +bin/svn-revision . \$file +.Ef +That shell code is executed when \fIConfigure\fR is back to the top directory +of the source tree. +.TP Typedef.U This unit produces the \fI\$typedef\fR shell variable, used internally by \fIConfigure\fR to check whether a typedef exists or not. A typical |