web: Fix CPP dependencies page

Neil Booth neil@daikokuya.demon.co.uk
Sun Feb 18 13:17:00 GMT 2001


When Nathan kindly fixed the incorrect behaviour I introduced
into CPP default dependencies, my web page description became
obsolete.  This fixes it.  Committed as obvious.

Neil.

	* news/dependencies.html: Update for CPP changes.

Index: htdocs/news/dependencies.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/news/dependencies.html,v
retrieving revision 1.1
diff -u -p -r1.1 dependencies.html
--- dependencies.html	2001/01/22 20:26:39	1.1
+++ dependencies.html	2001/02/18 21:15:11
@@ -38,7 +38,7 @@ preprocessor's Makefile dependency gener
 	subdir/bar.o: test.c test.h
   </pre>
 
-  <li><p>By default CPP uses the main file name, including any path, and
+  <li><p>By default CPP uses the main file name, excluding any path, and
   appends the object suffix, normally ``.o'', to it to obtain the name
   of the target for dependency generation.  With <code>-MT</code> or
   <code>-MQ</code> you can specify a target yourself, overriding the
@@ -80,7 +80,7 @@ preprocessor's Makefile dependency gener
   <p>This is typical output:-</p>
 
   <pre>
-/tmp/test.o: /tmp/test.c /tmp/test.h
+test.o: /tmp/test.c /tmp/test.h
 
 /tmp/test.h:
   </pre>



More information about the Gcc-patches mailing list