mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-25 07:32:36 +01:00
The source of the documentation is in Texinfo format to have the possibility someday to distribute in more format that just plain text; There is a new Makefile to generate automatically the plain text file to be distributed from the source; this doc is also generated by 'autogen.sh' because a user would expect to find it before compiling the program, so even before the 'configure' script have been generated, in the case he is compiling from a git checkout; There is a new script to generate the documentation, because from the way we generate it we cannot assume that 'texi2any' is available and working on the user's computer; it is also the opportunity to generate a better looking document (see the description at the beginning of the script); In this commit, the documentation only contains the base skeleton, it does not contain yet any useful content because it is worth it's own commit. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
16 lines
622 B
Makefile
16 lines
622 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 ; \
|
|
else \
|
|
echo "Warning: \"$(top_srcdir)/README.i18n\" is not writeable, not regenerated" ; \
|
|
fi
|