summaryrefslogtreecommitdiff
path: root/doc/gperf.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-09-09 01:31:47 +0000
committerBruno Haible <bruno@clisp.org>2007-09-09 01:31:47 +0000
commit597eaaa4ab1ca547355707ba451780d16999e2ad (patch)
treef72a661a409a1ad19c6355fabaca9c155f4f86c8 /doc/gperf.texi
parent081142fe92456e976f7220150ec91f6470d51187 (diff)
downloadgperf-597eaaa4ab1ca547355707ba451780d16999e2ad.tar.gz
Allow creating the HTML documentation with texi2html or makeinfo.
Diffstat (limited to 'doc/gperf.texi')
-rw-r--r--doc/gperf.texi24
1 files changed, 21 insertions, 3 deletions
diff --git a/doc/gperf.texi b/doc/gperf.texi
index e23f7b5..146a004 100644
--- a/doc/gperf.texi
+++ b/doc/gperf.texi
@@ -1,6 +1,13 @@
\input texinfo @c -*- texinfo -*-
@c %**start of header
@setfilename gperf.info
+@c The @ifset makeinfo ... @end ifset conditional evaluates to true in makeinfo
+@c for info and html output, but to false in texi2html.
+@ifnottex
+@ifclear texi2html
+@set makeinfo
+@end ifclear
+@end ifnottex
@settitle Perfect Hash Function Generator
@c @setchapternewpage odd
@c %**end of header
@@ -19,16 +26,18 @@
@syncodeindex fn cp
@c @synindex pg cp
+@ifinfo
@dircategory Programming Tools
@direntry
* Gperf: (gperf). Perfect Hash Function Generator.
@end direntry
+@end ifinfo
@ifinfo
This file documents the features of the GNU Perfect Hash Function
Generator @value{VERSION}.
-Copyright @copyright{} 1989-2006 Free Software Foundation, Inc.
+Copyright @copyright{} 1989-2007 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
@@ -87,7 +96,12 @@ included in a translation approved by the author instead of in the
original English.
@end titlepage
-@ifinfo
+@ifnottex
+@c Table of Contents
+@contents
+@end ifnottex
+
+@ifset makeinfo
@node Top, Copying, (dir), (dir)
@top Introduction
@@ -141,7 +155,7 @@ Invoking @code{gperf}
@end detailmenu
@end menu
-@end ifinfo
+@end ifset
@node Copying, Contributors, Top, Top
@unnumbered GNU GENERAL PUBLIC LICENSE
@@ -1366,5 +1380,9 @@ Foundation, 1989.
@printindex cp
+@iftex
+@c Table of Contents
@contents
+@end iftex
+
@bye