Fixed sed cmd in auto dep section.

Fixed bogus MAKEFLAGS override example.
This commit is contained in:
Roland McGrath 1996-03-01 17:02:26 +00:00
parent 514eda2bda
commit 4792e6f5c0

View file

@ -8,10 +8,10 @@
@c FSF publishers: format makebook.texi instead of using this file directly. @c FSF publishers: format makebook.texi instead of using this file directly.
@set RCSID $Id$ @set RCSID $Id$
@set EDITION 0.49 @set EDITION 0.50
@set VERSION 3.74 Beta @set VERSION 3.75 Beta
@set UPDATED 14 August 1995 @set UPDATED 28 February 1996
@set UPDATE-MONTH August 1995 @set UPDATE-MONTH February 1996
@comment The ISBN number might need to change on next publication. @comment The ISBN number might need to change on next publication.
@set ISBN 1-882114-78-7 @set ISBN 1-882114-78-7
@ -2580,7 +2580,7 @@ called @file{@var{name}.d} from a C source file called @file{@var{name}.c}:
@group @group
%.d: %.c %.d: %.c
$(SHELL) -ec '$(CC) -M $(CPPFLAGS) $< \ $(SHELL) -ec '$(CC) -M $(CPPFLAGS) $< \
| sed '\''s/$*\\.o[ :]*/& $@@/g'\'' > $@@' | sed '\''s/\($*\)\.o[ :]*/\1 $@@/g'\'' > $@@'
@end group @end group
@end smallexample @end smallexample
@ -3318,14 +3318,6 @@ no more than one.@refill
If you do not want to pass the other flags down, you must change the If you do not want to pass the other flags down, you must change the
value of @code{MAKEFLAGS}, like this: value of @code{MAKEFLAGS}, like this:
@example
MAKEFLAGS=
subsystem:
cd subdir; $(MAKE)
@end example
or like this:
@example @example
subsystem: subsystem:
cd subdir; $(MAKE) MAKEFLAGS= cd subdir; $(MAKE) MAKEFLAGS=