Fix newlib texinfo source so 'info libc' and 'info libm' work

If the newlib .info files are installed using install-info, 'info libc' and
'info libm' don't work.

This seems to be due to the formatting of the directory entry line not being
quite right, so fix that.

Also use @direntry texinfo command, rather than writing .info directory entry
literally.

Also use @dircategory texinfo command to place into 'Newlib' category, rather
than ending up in 'Miscellaneous'

newlib/ChangeLog:

2015-03-13  Jon TURNEY  <jon.turney@dronecode.org.uk>

	* libc/libc.texinfo: Fix directory entry.
	* libm/libm.texinfo: Ditto.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
Jon TURNEY 2015-03-12 17:22:23 +00:00
parent b7f2a6c0a7
commit 44e5c14e08
3 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2015-03-13 Jon TURNEY <jon.turney@dronecode.org.uk>
* libc/libc.texinfo: Fix directory entry.
* libm/libm.texinfo: Ditto.
2015-03-13 Corinna Vinschen <vinschen@redhat.com> 2015-03-13 Corinna Vinschen <vinschen@redhat.com>
* libc/include/sys/time.h: Drop including cygwin/sys_time.h on Cygwin. * libc/include/sys/time.h: Drop including cygwin/sys_time.h on Cygwin.

View File

@ -4,9 +4,10 @@
@ifinfo @ifinfo
@format @format
START-INFO-DIR-ENTRY @dircategory Newlib
* libc:: The ANSI C library. @direntry
END-INFO-DIR-ENTRY * libc: (libc). The ANSI C library.
@end direntry
@end format @end format
@end ifinfo @end ifinfo

View File

@ -4,9 +4,10 @@
@ifinfo @ifinfo
@format @format
START-INFO-DIR-ENTRY @dircategory Newlib
* libm:: An ANSI-C conforming mathematical library. @direntry
END-INFO-DIR-ENTRY * libm: (libm). An ANSI-C conforming mathematical library.
@end direntry
@end format @end format
@end ifinfo @end ifinfo