1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-24 15:12:32 +01:00
Files
wmaker/doc/build/Makefile.am
Christophe CURIS 58854cab9b 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>
2015-01-20 21:29:24 +00:00

17 lines
690 B
Makefile

# The list of sources are distributed, but none are to be
# installed along with Window Maker:
EXTRA_DIST = Readme \
Translations.texi
# How to re-generate automatically the top-level text files
all-local: $(top_srcdir)/README.i18n
$(top_srcdir)/README.i18n: $(srcdir)/Translations.texi $(top_srcdir)/script/generate-txt-from-texi.sh
$(AM_V_GEN)if test -w "$(top_srcdir)/README.i18n" ; then \
$(top_srcdir)/script/generate-txt-from-texi.sh \
$(srcdir)/Translations.texi -o $(top_srcdir)/README.i18n \
-Dversion="$(PACKAGE_VERSION)" -e "$(PACKAGE_BUGREPORT)" ; \
else \
echo "Warning: \"$(top_srcdir)/README.i18n\" is not writeable, not regenerated" ; \
fi