change flag -s to -i
This commit is contained in:
parent
4d7ba75469
commit
280d7a79be
4 changed files with 6 additions and 6 deletions
|
@ -43,16 +43,16 @@ and at each return to call the routine
|
|||
.BE procexit .
|
||||
These routines are supplied with one parameter, a pointer to a
|
||||
string containing the name of the procedure.
|
||||
.IP -\fBA\fR[\fIfile\fR]
|
||||
.IP \fB\-A\fR[\fIfile\fR]
|
||||
.br
|
||||
if \fIfile\fR is not given, generate a list
|
||||
of makefile dependencies and write them to the standard output.
|
||||
If \fIfile\fP is given,
|
||||
generate the list of makefile dependencies on file \fIfile\fP.
|
||||
.IP -\fBs\fR
|
||||
.IP \fB\-i\fR
|
||||
when generating makefile dependencies, do not include files from
|
||||
/usr/include.
|
||||
.IP -\fBm\fR
|
||||
.IP \fB\-m\fR
|
||||
when generating makefile dependencies, generate them in the following format:
|
||||
.RS
|
||||
.IP "file.o: file1.h"
|
||||
|
|
|
@ -192,7 +192,7 @@ char *s;
|
|||
dependency(s, source)
|
||||
char *s, *source;
|
||||
{
|
||||
if (options['s'] && !strncmp(s, "/usr/include/", 13)) {
|
||||
if (options['i'] && !strncmp(s, "/usr/include/", 13)) {
|
||||
return;
|
||||
}
|
||||
if (options['m'] && source) {
|
||||
|
|
|
@ -4,6 +4,7 @@ C while running preprocessor, copy comment
|
|||
d perform a small dataflow analysis
|
||||
D see identifier following as a macro
|
||||
E run preprocessor only
|
||||
i suppress /usr/include include files in dependency list
|
||||
I expand include table with directory name following
|
||||
m generate file.o: file1.h format dependency lines
|
||||
M set identifier length
|
||||
|
@ -12,7 +13,6 @@ L don't generate linenumbers and filename indications
|
|||
p trace
|
||||
P in running the preprocessor do not output '# line' lines
|
||||
R restricted C
|
||||
s suppress /usr/include include files in dependency list
|
||||
T take path following as directory for storing temporary file(s)
|
||||
U undefine predefined name
|
||||
V set objectsize and alignment requirements
|
||||
|
|
|
@ -96,7 +96,7 @@ next_option: /* to allow combined one-char options */
|
|||
dep_file = text;
|
||||
}
|
||||
break;
|
||||
case 's':
|
||||
case 'i':
|
||||
case 'm':
|
||||
options[opt] = 1;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue