This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RFH: G++ manual page in GCC 4.2.0
- From: Mark Mitchell <mark at codesourcery dot com>
- To: GCC <gcc at gcc dot gnu dot org>
- Date: Tue, 13 Mar 2007 11:36:34 -0700
- Subject: RFH: G++ manual page in GCC 4.2.0
My attempt to build GCC 4.2.0 RC1 failed with:
cp doc/gcc.1 doc/g++.1
cp: cannot stat `doc/gcc.1': No such file or directory
This is coming from the G++ Make-lang.in, which does:
doc/g++.1: doc/gcc.1
cp doc/gcc.1 doc/g++.1
However, when we --enable-generated-files-in-srcdir (as we do for
releaes), doc/gcc.1 is in the source directory. VPATH finds it, so the
dependency is satisfied, but the copy doesn't work.
I intend to fix this by changing the rule to be:
cp $< doc/g++.1
which will resolve VPATH correctly. Does anyone see a problem with this
plan?
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713