Re: [patch] make info regression on --with-system-readline

Jan Kratochvil
2011-01-01T09:38:28Z

On Sat, 01 Jan 2011 10:25:21 +0100, Eli Zaretskii wrote:
> Aren't you supposed to "make distclean" whenever you reconfigure?

In normal projects I am not used to. In GDB I do "make clean" but it may not
be fully reliable, I believe there is more broken in GDB build system.

But even if you do just first configure it is now broken in GDB as the files
get inappropriately distributed.

> E.g., what about all the *.o files you didn't remove?

They depend on config.h which gets regenerated.

Maybe if you only change CFLAGS and config.h stays the same (and it preserves
its timestamp). you would need `make clean'.

> However, I don't like rules that depend of Makefiles, because they
> tend to be re-run too much for no good reason. Note that this will
> re-make the docs each time you reconfigure, even if you didn't change
> the configuration.

We can stamp etc. GDBvn.texi if it is a concern (I do not find it so).

> > Another issue is that GDBvn.texi and gdb-cfg.texi should not be distributed.
>
> How can we not distribute them when gdb.texinfo @include's them, and
> needs that for setting some of the variables the manual uses? If we
> don't distribute them, end users will be unable to rebuild the manual.
> What am I missing here?

Both files are generated from gdb/doc/Makefile.

Thanks,
Jan