Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/gnu/dist/gcc/gcc



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




Home | Main Index | Thread Index | Old Index