mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +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>
23 lines
639 B
Bash
Executable File
23 lines
639 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Generate the documentation about compiling Window Maker
|
|
./script/generate-txt-from-texi.sh doc/build/Translations.texi > README.i18n
|
|
|
|
# Generate the configure script from the 'configure.ac'
|
|
autoreconf -vfi -I m4
|
|
|
|
exit 0
|
|
|
|
if [ -x config.status -a -z "$*" ]; then
|
|
./config.status --recheck
|
|
else
|
|
if test -z "$*"; then
|
|
echo "I am going to run ./configure with no arguments - if you wish "
|
|
echo "to pass any to it, please specify them on the $0 command line."
|
|
echo "If you do not wish to run ./configure, press Ctrl-C now."
|
|
trap 'echo "configure aborted" ; exit 0' 1 2 15
|
|
sleep 1
|
|
fi
|
|
./configure "$@"
|
|
fi
|