mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-08 18:36:17 +01:00
c200c1d1df
There seems to be little point in substituting the version number into README (using autotools). Rename it to README.md and distribute that verbatim (with autotools and Meson) instead. Autotools still requires that README exists, so leave a stub README file in place which redirects people to README.md. This can be dropped when we drop autotools support. Signed-off-by: Philip Withnall <withnall@endlessm.com>
37 lines
940 B
Bash
Executable File
37 lines
940 B
Bash
Executable File
#!/bin/sh
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
test -n "$srcdir" || srcdir=`dirname "$0"`
|
|
test -n "$srcdir" || srcdir=.
|
|
|
|
olddir=`pwd`
|
|
cd "$srcdir"
|
|
|
|
GTKDOCIZE=$(which gtkdocize 2>/dev/null)
|
|
if test -z $GTKDOCIZE; then
|
|
echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation."
|
|
rm -f gtk-doc.make
|
|
cat > gtk-doc.make <<EOF
|
|
EXTRA_DIST =
|
|
CLEANFILES =
|
|
EOF
|
|
else
|
|
gtkdocize || exit $?
|
|
fi
|
|
|
|
AUTORECONF=`which autoreconf`
|
|
if test -z $AUTORECONF; then
|
|
echo "*** No autoreconf found, please install it ***"
|
|
exit 1
|
|
fi
|
|
|
|
# INSTALL is required by automake, but may be deleted by clean
|
|
# up rules. to get automake to work, simply touch it here. It will be
|
|
# regenerated from its corresponding *.in file by ./configure anyway.
|
|
touch INSTALL
|
|
|
|
autoreconf --force --install --verbose || exit $?
|
|
|
|
cd "$olddir"
|
|
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|