Subject: Re: CVS commit: src/gnu/dist/gcc/gcc
To: None <mrg@netbsd.org>
From: None <cgd@broadcom.com>
List: source-changes
Date: 07/25/2003 11:15:24
At Fri, 25 Jul 2003 18:06:22 +0000 (UTC), "matthew green" wrote:
> - comment the rules to rebuild .info files into $srcdir.

FWIW, when i find myself faced with the need to do this in the GNU
tools, I tend to do it like:

$(docdir)/cpp.info: $(TEXI_CPP_FILES)
        @echo "NOT REBUILDING $@"
        # maybe or maybe not the following, depending on context:
        @touch $@
dummy_docdir_cpp.info:
        cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -I doc -I doc/include -o do/cpp.info doc/cpp.texi


For myself at least, i find reading the diffs (either context or uni)
when doing it that way much, much easier than what you did...

That helps (me, at least) when looking at the diffs to see what local
changes remain.



cgd