mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +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; The INSTALL-WMAKER original file will now be generated automatically when running the 'autogen.sh' script (for those who made a git-checkout) and when running 'make' (for the people who create the distribution archive). The current document have seen these changes: - added all the texinfo header (including the copyright notice); - texinfo formatting command in place everywhere applicable; - re-ordering of the content to try to get a consistent document. Apart from this, the document should not have seen any change on the content, because this deserves dedicated patches to show the evolution. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
27 lines
856 B
Bash
Executable File
27 lines
856 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Generate the documentation about compiling Window Maker
|
|
./script/generate-txt-from-texi.sh "doc/build/Compilation.texi" -o "INSTALL-WMAKER"
|
|
./script/generate-txt-from-texi.sh "doc/build/Translations.texi" -o "README.i18n"
|
|
|
|
# Change date of the files to the past so they will be regenerated by 'make'
|
|
touch -d '2000-01-01' INSTALL-WMAKER 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
|