txt-from-texi: add support for variables
commit58854cab9b72b0d1bd0073bbf3e27ede16284568
authorChristophe CURIS <christophe.curis@free.fr>
Tue, 20 Jan 2015 21:04:08 +0000 (20 22:04 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 20 Jan 2015 21:29:24 +0000 (20 21:29 +0000)
tree6e8e70cfff8d51d0d0b4b07f31b3db947a6d7e61
parent740c812476cfe5a615e15111da5a921771a973da
txt-from-texi: add support for variables

The support for variables in the text-from-texi script is used to
automatically insert the current version of Window Maker, inherited from
the definition in the AC_INIT command, so it will be always correctly
updated without the need for hand work.

Having this version information is recommended by GNU texinfo because if
the document happens to get distributed outside a package it can help user
avoid problems.

The second use is to define a variable 'emailsupport' which contains the
email address of the development team, so we can also inherit it from the
AC_INIT setting.

The third use is for a special variable 'cctexi2txt' to differentiate
between texi2any and our script, because when using texi2any the title
page is not generated, so we need to duplicate some information in the
source, but we do not want it to appear twice in our generated doc.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
autogen.sh
doc/build/Makefile.am
doc/build/Translations.texi
script/generate-txt-from-texi.sh