Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/crunch/crunchgen Whitespace, punctuation, section he...
details: https://anonhg.NetBSD.org/src/rev/491dcf44db48
branches: trunk
changeset: 515751:491dcf44db48
user: wiz <wiz%NetBSD.org@localhost>
date: Thu Oct 04 11:20:39 2001 +0000
description:
Whitespace, punctuation, section header fixes, sort sections.
diffstat:
usr.bin/crunch/crunchgen/crunchgen.1 | 61 ++++++++++++++++++-----------------
1 files changed, 31 insertions(+), 30 deletions(-)
diffs (183 lines):
diff -r ecccca11c738 -r 491dcf44db48 usr.bin/crunch/crunchgen/crunchgen.1
--- a/usr.bin/crunch/crunchgen/crunchgen.1 Thu Oct 04 11:20:17 2001 +0000
+++ b/usr.bin/crunch/crunchgen/crunchgen.1 Thu Oct 04 11:20:39 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: crunchgen.1,v 1.12 2001/10/04 04:17:04 jmc Exp $
+.\" $NetBSD: crunchgen.1,v 1.13 2001/10/04 11:20:39 wiz Exp $
.\"
.\" Copyright (c) 1994 University of Maryland
.\" All Rights Reserved.
@@ -64,7 +64,7 @@
.Ar conf-file
for a crunched binary, and generates a Makefile and accompanying
top-level C source file that when built create the crunched executable
-file from the component programs. For each component program,
+file from the component programs. For each component program,
.Nm
can optionally attempt to determine the object (.o) files that make up
the program from its source directory Makefile. This information is
@@ -96,7 +96,7 @@
.Ar exec-file-name .
The default name is ``<conf-name>''.
.It Fl d Ar build-options
-Set the DBG variable in the generated makefile to
+Set the DBG variable in the generated makefile to
.Ar build-options .
The default flags are -Os.
.It Fl f
@@ -119,7 +119,7 @@
.El
.Sh CRUNCHGEN CONFIGURATION FILE COMMANDS
.Nm
-reads specifications from the
+reads specifications from the
.Ar conf-file
that describe the components of the crunched binary. In its simplest
use, the component program names are merely listed along with the
@@ -127,7 +127,7 @@
.Nm
then calculates (via the source makefiles) and caches the
list of object files and their locations. For more specialized
-situations, the user can specify by hand all the parameters that
+situations, the user can specify by hand all the parameters that
.Nm
needs.
.Pp
@@ -139,7 +139,7 @@
A list of source trees in which the source directories of the
component programs can be found. These dirs are searched using the
.Bx
-``<source-dir>/<progname>/'' convention. Multiple
+``<source-dir>/<progname>/'' convention. Multiple
.Em srcdirs
lines can be specified. The directories are searched in the order
they are given.
@@ -158,13 +158,13 @@
whenever
.Ar linkname
appears in argv[0]. This allows programs that change their behavior when
-run under different names to operate correctly.
+run under different names to operate correctly.
.El
.Pp
To handle specialized situations, such as when the source is not
available or not built via a conventional Makefile, the following
.Em special
-commands can be used to set
+commands can be used to set
.Nm
parameters for a component program.
.Bl -tag -width indent
@@ -182,19 +182,19 @@
.Dq Pa obj
under the
.Ar srcdir ,
-and if that is not found, the
+and if that is not found, the
.Ar srcdir
itself becomes the
.Ar objdir .
-.br
-.Nm Note:
-This option only takes effect if the -o option to use existing object files is also
+.br
+.Nm Note :
+This option only takes effect if the -o option to use existing object files is also
specified.
.It Nm special Ar progname Nm objs Ar object-file-name ...
Set the list of object files for program
.Ar progname .
This is normally calculated by constructing a temporary makefile that includes
-.Dq Nm srcdir / Pa Makefile
+.Dq Nm srcdir / Pa Makefile
and outputs the value of $(OBJS).
.It Nm special Ar progname Nm objpaths Ar full-pathname-to-object-file ...
Sets the pathnames of the object files for program
@@ -206,7 +206,7 @@
list.
.El
.Pp
-Only the
+Only the
.Em objpaths
parameter is actually needed by
.Nm
@@ -216,7 +216,7 @@
.Em objs ,
which are in turn calculated from
.Em srcdir ,
-so is sometimes convenient to specify the earlier parameters and let
+so is sometimes convenient to specify the earlier parameters and let
.Nm
calculate forward from there if it can.
.Pp
@@ -230,7 +230,7 @@
and
.Em objs
parameters must also be valid. If they are not valid for a particular program, that
-program is skipped in the
+program is skipped in the
.Ar objs
target.
.Sh ENVIRONMENT
@@ -240,20 +240,20 @@
.Ev MAKEOBJDIRPREFIX
is set, the object directory will be prefixed with the path contained in this
environment variable.
-.br
-.Nm Note:
-This variable is only used if the -o option to use existing object files is also
+.br
+.Nm Note :
+This variable is only used if the -o option to use existing object files is also
specified.
.It Ev MACHINE
If the environment variable
.Ev MACHINE
is set, it is used as the name of the machine type, when accessing object
-directories of the form obj.MACHINE. If it is not set, it defaults to
+directories of the form obj.MACHINE. If it is not set, it defaults to
the machine type returned by
.Xr uname 3 .
-.br
-.Nm Note:
-This option is only used if the -o option to use existing object files is also
+.br
+.Nm Note :
+This option is only used if the -o option to use existing object files is also
specified.
.It Ev MAKE
If the environment variable
@@ -265,7 +265,7 @@
defaults to
.Dq make .
.El
-.Sh EXAMPLE
+.Sh EXAMPLES
Here is an example
.Em crunchgen
input conf file, named
@@ -305,7 +305,13 @@
.Sh SEE ALSO
.Xr crunchide 1 ,
.Xr make 1
-.Sh CAVEATS
+.Sh AUTHORS
+.Nm
+was written by
+.An James da Silva Aq jds%cs.umd.edu@localhost .
+.sp 0
+Copyright (c) 1994 University of Maryland. All Rights Reserved.
+.Sh BUGS
While
.Nm
takes care to eliminate link conflicts between the component programs
@@ -348,8 +354,3 @@
.fi
.Pp
will not have the above problem.
-.Sh AUTHOR
-.Nm
-was written by James da Silva <jds%cs.umd.edu@localhost>.
-.sp 0
-Copyright (c) 1994 University of Maryland. All Rights Reserved.
Home |
Main Index |
Thread Index |
Old Index