makeinfo with gdb.texinfo

Bob Rossi
2003-03-31T17:22:12Z

Hi,

I am trying to figure out what the correct way to build the documentation
is. I want to create an info file. From the research I have done online,
it seems as if 'makeinfo gdb.texinfo' should be the correct command.

This is the output I get.

bob@black:~/cvs/src/gdb/doc$ makeinfo gdb.texinfo
gdb.texinfo:11: @include `gdb-cfg.texi': No such file or directory.
gdb.texinfo:18836: @include `rluser.texinfo': No such file or directory.
gdb.texinfo:18836: @include `inc-hist.texinfo': No such file or
directory.
./gdb.texinfo:18838: Next reference to nonexistent node `Command Line
Editing'.
./gdb.texinfo:18924: Prev reference to nonexistent node `Using History
Interactively'.
./gdb.texinfo:13609: Cross reference to nonexistent node `Command Line
Editing'.
./gdb.texinfo:154: Menu reference to nonexistent node `Using History
Interactively'.
./gdb.texinfo:153: Menu reference to nonexistent node `Command Line
Editing'.
makeinfo: Removing output file `/home/bob/cvs/src/gdb/doc/gdb.info' due
to errors; use --force to preserve.

When I do 'makeinfo --force gdb.texinfo' I get

bob@black:~/cvs/src/gdb/doc$ makeinfo --force gdb.texinfo
gdb.texinfo:11: @include `gdb-cfg.texi': No such file or directory.
gdb.texinfo:18836: @include `rluser.texinfo': No such file or directory.
gdb.texinfo:18836: @include `inc-hist.texinfo': No such file or
directory.
./gdb.texinfo:18838: Next reference to nonexistent node `Command Line
Editing'.
./gdb.texinfo:18924: Prev reference to nonexistent node `Using History
Interactively'.
./gdb.texinfo:13609: Cross reference to nonexistent node `Command Line
Editing'.
./gdb.texinfo:154: Menu reference to nonexistent node `Using History
Interactively'.
./gdb.texinfo:153: Menu reference to nonexistent node `Command Line
Editing'.

This actually creates the gdb.info file. However, it seems that when I
change gdb.texinfo then run 'makeinfo --force gdb.texinfo' again,
I can not see the changes in gdb.info. Does anyone know why this is?

Should I have to use --force to get the changes?
Why doesn't the Makefile do anything in the doc directory?
Do I have to invoke configure in a certain way?

Here is the version of makeinfo

bob@black:~/cvs/src/gdb/doc$ makeinfo --version
makeinfo (GNU texinfo) 4.1

Copyright (C) 2002 Free Software Foundation, Inc.
There is NO warranty. You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.

Any help would be appreciated.

Thanks,
Bob Rossi