diff options
author | Manoj Srivastava <srivasta@debian.org> | 2018-02-26 00:27:56 -0800 |
---|---|---|
committer | Manoj Srivastava <srivasta@debian.org> | 2018-02-26 00:32:31 -0800 |
commit | 9d655e91e06fda1394cc0bb1e7978c9e5484896c (patch) | |
tree | b46b4e25cfff5f4c13a330b8428ceed343e3796c /mcon/man | |
parent | 86a9dcbe9559bbfa398e7ca3e7a72b2e7df58ad2 (diff) | |
parent | f8e6e03cbfcecfd577555326c0775b109eb894a8 (diff) |
Merge branch 'development' into upstream
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
Diffstat (limited to 'mcon/man')
-rw-r--r-- | mcon/man/Jmakefile | 2 | ||||
-rwxr-xr-x | mcon/man/mconfig.SH | 21 | ||||
-rwxr-xr-x | mcon/man/mlint.SH | 54 | ||||
-rwxr-xr-x | mcon/man/mxref.SH | 15 |
4 files changed, 72 insertions, 20 deletions
diff --git a/mcon/man/Jmakefile b/mcon/man/Jmakefile index 6136ca0..489cce2 100644 --- a/mcon/man/Jmakefile +++ b/mcon/man/Jmakefile @@ -2,7 +2,7 @@ * Jmakefile for metaconfig manual pages */ -;# $Id: Jmakefile 9 2006-08-25 22:31:50Z rmanfredi $ +;# $Id$ ;# ;# Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ;# diff --git a/mcon/man/mconfig.SH b/mcon/man/mconfig.SH index 12ca4f9..e749330 100755 --- a/mcon/man/mconfig.SH +++ b/mcon/man/mconfig.SH @@ -20,7 +20,7 @@ $spitshell >metaconfig.$manext <<!GROK!THIS! .TH METACONFIG $manext "Version $VERSION PL$PATCHLEVEL" ''' @(#) Manual page for metaconfig ''' -''' $Id: mconfig.SH 25 2008-05-28 11:19:25Z rmanfredi $ +''' $Id$ ''' ''' Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ''' @@ -349,7 +349,7 @@ Put the unit into the public or private U directory as appropriate. .IP \(bu Rerun \fImetaconfig\fR. .IP \(bu -Send your unit to ram@acri.fr (Raphael Manfredi) for inclusion +Send your unit to Raphael.Manfredi@pobox.com (Raphael Manfredi) for inclusion in the master copy, if you think it's of general interest. .PP In order to add a new program to be located: @@ -528,6 +528,19 @@ option permanently. .TP .B \-V Print version number and exit. +.TP +\fB\-X\fI file\fR +When examining the source files, ignore any symbols listed in the \fIfile\fR. +This is useful in situations where a particular unit is known not to be needed +for your package's portability targets, but your source files nevertheless +contain occurrences of words that look to \fImetaconfig\fR like symbols defined +in that unit. (For example, you might need the word "index" in a source file, +but not need the unit that determines whether \fIstrcpy\fR or \fIindex\fR +should be used.) +The \fIfile\fR can contain blank lines, comment lines introduced with '#', and +lines containing a single symbol. +If this option is not supplied, any \fI$exclusions_file\fR variable in +\fI.package\fR is honored instead. ''' ''' T u t o r i a l ''' @@ -1166,7 +1179,7 @@ the C symbol will be controlled, i.e. if the \fIalias\fR symbol is wanted, then that C symbol will be written in the \fIconfig_h.SH\fR file. Usually, the alias is just '%<' (stands for the unit's name) and there is also a ?W: line mapping a C symbol to the \fIalias\fR. Also the relevant parts -of the ?H: lines are explicitely protected by a '?%<' condition. See +of the ?H: lines are explicitly protected by a '?%<' condition. See the symbol aliasing paragraph for more details. The remaining of the line is the optional \fIobsolete symbol list\fR, which lists old equivalents for the new \fIsymbol_name\fR. @@ -2077,7 +2090,7 @@ Larry Wall <lwall@netlabs.com> for version 2.0. .br Harlan Stenn <harlan@mumps.pfcs.com> for important unit extensions. .br -Raphael Manfredi <ram@hptnos02.grenoble.hp.com>. +Raphael Manfredi <Raphael.Manfredi@pobox.com>. .br Many other contributors for the \fImetaconfig\fR units. See the credit file for a list. diff --git a/mcon/man/mlint.SH b/mcon/man/mlint.SH index c842f4f..8910b88 100755 --- a/mcon/man/mlint.SH +++ b/mcon/man/mlint.SH @@ -20,7 +20,7 @@ $spitshell >metalint.$manext <<!GROK!THIS! .TH METALINT $manext "Version $VERSION PL$PATCHLEVEL" ''' @(#) Manual page for metalint ''' -''' $Id: mlint.SH 1 2006-08-24 12:32:52Z rmanfredi $ +''' $Id$ ''' ''' Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ''' @@ -113,6 +113,19 @@ Print version number and exit. .SH DIAGNOSTICS The following diagnostics may be emitted by \fImetalint\fR: .TP 5 +"(?MAKE) command line must start with a leading TAB character." +Self explanatory. +.TP +"(?MAKE) fourth pick argument is missing." +Self explanatory. +.TP +"(?MAKE) fourth pick argument should probably be the %< macro." +When the fourth argument is not a relative path, it is expected to be the +current unit name, which is best described using the "%<" string, a macro +handled by +.I metaconfig +and which is substituted with the current unit name. +.TP "(?MAKE) ignoring duplicate dependency listing line." More than one ?MAKE: line bearing dependencies was found in the unit. There may be only one such line, although multiple ?MAKE action lines may occur. @@ -136,6 +149,19 @@ Symbol is listed as a normal dependency and as a conditional one. will consider this as being a full dependency, but that may not be what you initially wanted... .TP +"(?MAKE) pick needs a command argument." +There is no command name after the special "pick" directive, which is invalid. +.TP +"(?MAKE) third pick argument must be \$@. +The third argument to the special "pick" directive must be \$@, litterally. +.TP +"(?MAKE) unknown pick command 'xxx'. +The command argument listed for the special "pick" directive is unknown. +.TP +"(?MAKE) weird fourth argument 'xxx' to pick. +The fourth argument for pick, the target file, should be a unit name, a file +path introduced by "./" or the special "%<" token. +.TP "(?Y) unknown layout directive 'xxx'." Layout directives may only be one of \fItop\fR, \fIdefault\fR or \fIbottom\fR, but case does not matter. An unknown directive is just ignored and @@ -150,14 +176,14 @@ The unit describes a shell symbol entry which cannot be used externally since not listed as a dependency. .TP "(?S) syntax error in ?S: construct." -Self explainatory. +Self explanatory. .TP "(?C) duplicate description for symbol 'XXX'." C symbol is described more than once, and that will produce two entries for it in the Glossary. .TP "(?C) syntax error in ?C: construct." -Self explainatory. +Self explanatory. .TP "(?H) symbol 'XXX' was already defined." Apparently, two ?H: lines are defining the same C symbol. @@ -190,7 +216,7 @@ All the leading ?sym: constraints on the ?H: lines should be a valid shell or C symbol, defined in the unit. .TP "(?M) syntax error in ?M: construct." -Self explainatory. +Self explanatory. .TP "(?M) symbol 'xxx' already listed on a ?M: line in 'yyy'." A magic definition for symbol xxx is attempted, but another one was @@ -219,7 +245,7 @@ The variable was already made visible as read-write by another unit. The variable was already made visible as read-only by another unit. .TP "(?W) variable '\$xxx' already wanted." -Variable is already wanted, there is no need to explicitely ask for it here. +Variable is already wanted, there is no need to explicitly ask for it here. .TP "(?W) variable '\$xxx' also locally defined." A wanted variable would conflict with a locally defined variable and could @@ -240,7 +266,7 @@ later perusal by \fIConfigure\fR) may only be created in special units. Exceptions allowed if the ?F: line is preceded by a proper ?LINT: hint. .TP "(?T) temporary symbol '\$xxx' multiply declared." -Self explainatory. +Self explanatory. .TP "directive should come after ?MAKE declarations." The directive listed between () at the beginning of this message should @@ -375,22 +401,22 @@ A shell symbol is defined by some units, obsoleted by others and used as a temporary. .TP "Shell symbol 'xxx' is both defined and obsoleted:" -Self explainatory. +Self explanatory. .TP "Shell symbol 'xxx' is both defined and used as temporary:" -Self explainatory. +Self explanatory. .TP "Shell symbol 'xxx' obsoleted also used as temporary:" -Self explainatory. +Self explanatory. .TP "definition of '\$xxx' not closed by '?S:.'." -Self explainatory. +Self explanatory. .TP "definition of 'XXX' not closed by '?C:.'." -Self explainatory. +Self explanatory. .TP "magic definition of 'xxx' not closed by '?M:.'." -Self explainatory. +Self explanatory. .TP "variable '\$xxx' is defined externally." A variable defined externally (i.e. in another unit) is used, without proper @@ -400,7 +426,7 @@ dependency information. Use the \fIextern\fR lint hint to suppress this message. A file listed as a private UU file is not created by the special unit. Creation is detected by seing an explicit shell redirection to the file, not by an implicit creation (such as a C compilation would for instance). -All special units should create only shell scripts explicitely anyway so this +All special units should create only shell scripts explicitly anyway so this message cannot be suppressed via a lint hint. .TP "local file 'xxx' may override the one set by 'unit.U'." @@ -536,7 +562,7 @@ listed file is used (do not prepend name with '!' for temporary ones) Harlan Stenn <harlan@mumps.pfcs.com> wrote the first version, based on Larry Wall's \fImetaconfig\fR from dist 2.0. .br -Raphael Manfredi <ram@hptnos02.grenoble.hp.com> rewrote it from scratch for +Raphael Manfredi <Raphael.Manfredi@pobox.com> rewrote it from scratch for 3.0 with a few enhancements. .SH FILES .TP 10 diff --git a/mcon/man/mxref.SH b/mcon/man/mxref.SH index 0b7ec6f..491bf1d 100755 --- a/mcon/man/mxref.SH +++ b/mcon/man/mxref.SH @@ -20,7 +20,7 @@ $spitshell >metaxref.$manext <<!GROK!THIS! .TH METAXREF $manext "Version $VERSION PL$PATCHLEVEL" ''' @(#) Manual page for metaxref ''' -''' $Id: mxref.SH 1 2006-08-24 12:32:52Z rmanfredi $ +''' $Id$ ''' ''' Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ''' @@ -99,6 +99,19 @@ can be found). .TP .B \-V Print version number and exit. +.TP +\fB\-X\fI file\fR +When examining the source files, ignore any symbols listed in the \fIfile\fR. +This is useful in situations where a particular unit is known not to be needed +for your package's portability targets, but your source files nevertheless +contain occurrences of words that look to \fImetaconfig\fR like symbols defined +in that unit. (For example, you might need the word "index" in a source file, +but not need the unit that determines whether \fIstrcpy\fR or \fIindex\fR +should be used.) +The \fIfile\fR can contain blank lines, comment lines introduced with '#', and +lines containing a single symbol. +If this option is not supplied, any \fI$exclusions_file\fR variable in +\fI.package\fR is honored instead. .SH AUTHOR Harlan Stenn <harlan@mumps.pfcs.com> .SH FILES |