]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Make it possible to use both texi2html and makeinfo for generating HTML doc.
authorBruno Haible <bruno@clisp.org>
Sun, 27 May 2007 21:07:56 +0000 (21:07 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:50 +0000 (12:14 +0200)
gettext-tools/doc/ChangeLog
gettext-tools/doc/gettext.texi

index 21887289dc6f6829ca539f8bc8ddd4e0614505a7..31d596a999518b4efad5f3098379d9b16613623b 100644 (file)
@@ -1,3 +1,8 @@
+2007-05-05  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.texi (ifmakeinfo): Remove alias.
+       (makeinfo): New variable.
+
 2007-05-04  Bruno Haible  <bruno@clisp.org>
 
        * gettext.texi (Overview of GNU gettext): Put @ifhtml outside @example,
index 0f479b500f344353cb1dbe26bfbd9ef305608983..0df894b28a3201f1056edd3bf30c17caa847ca4e 100644 (file)
@@ -1,11 +1,18 @@
 \input texinfo          @c -*-texinfo-*-
 @c %**start of header
 @setfilename gettext.info
-@c The @ifmakeinfo ... @end ifnottex conditional evaluates to true in makeinfo
+@c The @ifset makeinfo ... @end ifset conditional evaluates to true in makeinfo
 @c for info and html output, but to false in texi2html.
-@alias ifmakeinfo = ifnottex
-@c The @documentencoding is needed for makeinfo; texi2html accepts it as well.
+@ifnottex
+@ifclear texi2html
+@set makeinfo
+@end ifclear
+@end ifnottex
+@c The @documentencoding is needed for makeinfo; texi2html 1.52
+@c doesn't recognize it.
+@ifset makeinfo
 @documentencoding UTF-8
+@end ifset
 @settitle GNU @code{gettext} utilities
 @finalout
 @c Indices:
@@ -131,7 +138,7 @@ A copy of the license is included in @ref{GNU GPL}.
 @contents
 @end ifnottex
 
-@ifmakeinfo
+@ifset makeinfo
 @node Top, Introduction, (dir), (dir)
 @top GNU @code{gettext} utilities
 
@@ -461,7 +468,7 @@ Licenses
 @end detailmenu
 @end menu
 
-@end ifnottex
+@end ifset
 
 @node Introduction, Users, Top, Top
 @chapter Introduction