Candidate for PR/13485 Generated files no longer get messages extracted
Kelley Cook
kcook34@ford.com
Mon Jan 26 18:57:00 GMT 2004
This is a floater for fixing PR/13485.
First off, it does not do all the nice things that Joseph would like for
this patch to do, but it does appear to fix the regression with the
minimal impact required for stage 3 fix.
Quite simply the po.generated target is nuked and replaced with srcextra
which already lists all of the generated files. All that was required
in order for this to work I had to add in a layer of indirection to the
srcextra target in gcc/Makefile.in, which likely should be done anyway.
It also fixes a bug I came across by adding in the required dependency
on options.c to po/${PACKAGE}/gcc.pot.
The only slight flaw I see is that make po/gcc.pot would be required to
be run in a read-write source directory, but that stipulation could just
be added to the as of yet non-existant documentation that the source
directory must remain read-only except in the current cases of
--enable-maintainer-mode and --enable-generated-files-in-srcdir.
tested with:
configure --enable-languages=all,treelang
make configure-gcc
cd gcc
make po/gcc.pot
OK?
Kelley Cook
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr13485.patch
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20040126/c0b11f84/attachment.ksh>
More information about the Gcc-bugs
mailing list