This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Remove extra cd from install.texi


Howdy,

The instructions for building the Ada compiler contain the
following example:

 cd objdir
 srcdir/configure --enable-languages=c,ada
 cd objdir
 make bootstrap
 cd gcc
 make gnatlib_and_tools
 cd ..

The second cd is cruft left over from when there used to be

 cd srcdir/gcc/ada
 touch treeprs.ads [es]info.h nmake.ad[bs]

after the invocation of configure.

The following patch removes it.  I've tested it with "make info"
and "make dvi" on powerpc-unknown-linux-gnu.

OK to commit to mainline?

-- 
Matt Kraai            kraai@ftbfs.org            http://ftbfs.org/

        * doc/install.texi: Remove extra cd.

Index: gcc/doc/install.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.251
diff -u -r1.251 install.texi
--- gcc/doc/install.texi	18 Jan 2004 11:57:12 -0000	1.251
+++ gcc/doc/install.texi	28 Jan 2004 12:58:00 -0000
@@ -1444,7 +1444,6 @@
 @smallexample
     cd @var{objdir}
     @var{srcdir}/configure --enable-languages=c,ada
-    cd @var{objdir}
     make bootstrap
     cd gcc
     make gnatlib_and_tools


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]