Changeset 503 for trunk/src/gmake/make.1


Ignore:
Timestamp:
Sep 15, 2006, 7:09:38 AM (19 years ago)
Author:
bird
Message:

Untested merge with GNU Make v3.81 (vendor/gnumake/2005-05-16 -> vendor/gnumake/current).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/make.1

    r53 r503  
    1 .TH MAKE 1L "22 August 1989" "GNU" "LOCAL USER COMMANDS"
     1.TH MAKE 1 "22 August 1989" "GNU" "LOCAL USER COMMANDS"
    22.SH NAME
    33make \- GNU make utility to maintain groups of programs
     
    77.B \-f
    88.I makefile
    9 ] [ option ] ...
    10 target ...
     9] [ options ] ... [ targets ] ...
    1110.SH WARNING
    12 This man page is an extract of the documentation of
    13 .I GNU make .
     11This man page is an extract of the documentation of GNU
     12.IR make .
    1413It is updated only occasionally, because the GNU project does not use nroff.
    1514For complete, current documentation, refer to the Info file
    1615.B make.info
    1716which is made from the Texinfo source file
    18 .BR make.texinfo .
     17.BR make.texi .
    1918.SH DESCRIPTION
    2019.LP
     
    2625The manual describes the GNU implementation of
    2726.IR make ,
    28 which was written by Richard Stallman and Roland McGrath.
     27which was written by Richard Stallman and Roland McGrath, and is
     28currently maintained by Paul Smith.
    2929Our examples show C programs, since they are most common, but you can use
    3030.I make
     
    107107.sp 1
    108108.TP 0.5i
    109 .B \-b
    110 .TP 0.5i
    111 .B \-m
     109.BR \-b , " \-m"
    112110These options are ignored for compatibility with other versions of
    113111.IR make .
    114112.TP 0.5i
    115 .BI "\-C " dir
     113.BR \-B , " \-\-always\-make"
     114Unconditionally make all targets.
     115.TP 0.5i
     116\fB\-C\fR \fIdir\fR, \fB\-\-directory\fR=\fIdir\fR
    116117Change to directory
    117118.I dir
     
    137138decides what to do.
    138139.TP 0.5i
    139 .B \-e
     140.BI \-\-debug "[=FLAGS]"
     141Print debugging information in addition to normal processing.
     142If the
     143.I FLAGS
     144are omitted, then the behavior is the same as if
     145.B \-d
     146was specified.
     147.I FLAGS
     148may be
     149.I a
     150for all debugging output (same as using
     151.BR \-d ),
     152.I b
     153for basic debugging,
     154.I v
     155for more verbose basic debugging,
     156.I i
     157for showing implicit rules,
     158.I j
     159for details on invocation of commands, and
     160.I m
     161for debugging while remaking makefiles.
     162.TP 0.5i
     163.BR \-e , " \-\-environment\-overrides"
    140164Give variables taken from the environment precedence
    141165over variables from makefiles.
    142166.TP 0.5i
    143 .BI "\-f " file
     167+\fB\-f\fR \fIfile\fR, \fB\-\-file\fR=\fIfile\fR, \fB\-\-makefile\fR=\fIFILE\fR
    144168Use
    145169.I file
    146170as a makefile.
    147171.TP 0.5i
    148 .B \-i
     172.BR \-i , " \-\-ignore\-errors"
    149173Ignore all errors in commands executed to remake files.
    150174.TP 0.5i
    151 .BI "\-I " dir
     175\fB\-I\fR \fIdir\fR, \fB\-\-include\-dir\fR=\fIdir\fR
    152176Specifies a directory
    153177.I dir
     
    170194flag.
    171195.TP 0.5i
    172 .BI "\-j " jobs
    173 Specifies the number of jobs (commands) to run simultaneously.
     196\fB\-j\fR [\fIjobs\fR], \fB\-\-jobs\fR[=\fIjobs\fR]
     197Specifies the number of
     198.I jobs
     199(commands) to run simultaneously.
    174200If there is more than one
    175201.B \-j
     
    181207will not limit the number of jobs that can run simultaneously.
    182208.TP 0.5i
    183 .B \-k
     209.BR \-k , " \-\-keep\-going"
    184210Continue as much as possible after an error.
    185211While the target that failed, and those that depend on it, cannot
     
    187213all the same.
    188214.TP 0.5i
    189 .B \-l
    190 .TP 0.5i
    191 .BI "\-l " load
     215\fB\-l\fR [\fIload\fR], \fB\-\-load\-average\fR[=\fIload\fR]
    192216Specifies that no new jobs (commands) should be started if there are
    193217others jobs running and the load average is at least
     
    196220With no argument, removes a previous load limit.
    197221.TP 0.5i
    198 .B \-n
     222.BR \-L , " \-\-check\-symlink\-times"
     223Use the latest mtime between symlinks and target.
     224.TP 0.5i
     225.BR \-n , " \-\-just\-print" , " \-\-dry\-run" , " \-\-recon"
    199226Print the commands that would be executed, but do not execute them.
    200227.TP 0.5i
    201 .BI "\-o " file
     228\fB\-o\fR \fIfile\fR, \fB\-\-old\-file\fR=\fIfile\fR, \fB\-\-assume\-old\fR=\fIfile\fR
    202229Do not remake the file
    203230.I file
     
    207234Essentially the file is treated as very old and its rules are ignored.
    208235.TP 0.5i
    209 .B \-p
     236.BR \-p , " \-\-print\-data\-base"
    210237Print the data base (rules and variable values) that results from
    211238reading the makefiles; then execute as usual or as otherwise
     
    219246.BI \-f /dev/null.
    220247.TP 0.5i
    221 .B \-q
     248.BR \-q , " \-\-question"
    222249``Question mode''.
    223250Do not run any commands, or print anything; just return an exit status
     
    225252otherwise.
    226253.TP 0.5i
    227 .B \-r
    228 Eliminate use of the built-in implicit rules.
     254.BR \-r , " \-\-no\-builtin\-rules"
     255Eliminate use of the built\-in implicit rules.
    229256Also clear out the default list of suffixes for suffix rules.
    230257.TP 0.5i
    231 .B \-s
     258.BR \-R , " \-\-no\-builtin\-variables"
     259Don't define any built\-in variables.
     260.TP 0.5i
     261.BR \-s , " \-\-silent" , " \-\-quiet"
    232262Silent operation; do not print the commands as they are executed.
    233263.TP 0.5i
    234 .B \-S
     264.BR \-S , " \-\-no\-keep\-going" , " \-\-stop"
    235265Cancel the effect of the
    236266.B \-k
     
    246276in MAKEFLAGS in your environment.
    247277.TP 0.5i
    248 .B \-t
     278.BR \-t , " \-\-touch"
    249279Touch files (mark them up to date without really changing them)
    250280instead of running their commands.
     
    253283.IR make .
    254284.TP 0.5i
    255 .B \-v
     285.BR \-v , " \-\-version"
    256286Print the version of the
    257287.I make
     
    259289is no warranty.
    260290.TP 0.5i
    261 .B \-w
     291.BR \-w , " \-\-print\-directory"
    262292Print a message containing the working directory
    263293before and after other processing.
     
    267297commands.
    268298.TP 0.5i
    269 .BI "\-W " file
     299.B \-\-no\-print\-directory
     300Turn off
     301.BR \-w ,
     302even if it was turned on implicitly.
     303.TP 0.5i
     304\fB\-W\fR \fIfile\fR, \fB\-\-what\-if\fR=\fIfile\fR, \fB\-\-new\-file\fR=\fIfile\fR, \fB\-\-assume\-new\fR=\fIfile\fR
    270305Pretend that the target
    271306.I file
     
    282317except that the modification time is changed only in the imagination of
    283318.IR make .
     319.TP 0.5i
     320.B \-\-warn\-undefined\-variables
     321Warn when an undefined variable is referenced.
     322.SH "EXIT STATUS"
     323GNU
     324.I make
     325exits with a status of zero if all makefiles were successfully parsed
     326and no targets that were built failed.  A status of one will be returned
     327if the
     328.B \-q
     329flag was used and
     330.I make
     331determines that a target needs to be rebuilt.  A status of two will be
     332returned if any errors were encountered.
    284333.SH "SEE ALSO"
    285334.I "The GNU Make Manual"
    286335.SH BUGS
    287336See the chapter `Problems and Bugs' in
    288 .I "The GNU Make Manual" .
     337.IR "The GNU Make Manual" .
    289338.SH AUTHOR
    290339This manual page contributed by Dennis Morse of Stanford University.
    291 It has been reworked by Roland McGrath.
     340It has been reworked by Roland McGrath.  Further updates contributed by
     341Mike Frysinger.
     342.SH "COPYRIGHT"
     343Copyright (C) 1992, 1993, 1996, 1999 Free Software Foundation, Inc.
     344This file is part of GNU
     345.IR make .
     346.LP
     347GNU
     348.I make
     349is free software; you can redistribute it and/or modify it under the
     350terms of the GNU General Public License as published by the Free
     351Software Foundation; either version 2, or (at your option) any later
     352version.
     353.LP
     354GNU
     355.I make
     356is distributed in the hope that it will be useful, but WITHOUT ANY
     357WARRANTY; without even the implied warranty of MERCHANTABILITY or
     358FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
     359for more details.
     360.LP
     361You should have received a copy of the GNU General Public License
     362along with GNU
     363.IR make ;
     364see the file COPYING.  If not, write to the Free Software Foundation,
     365Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
Note: See TracChangeset for help on using the changeset viewer.