mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
c3d01e7332
Sun Oct 25 01:24:01 CST 1998 Shawn T. Amundson <amundson@gtk.org> * Released GLib 1.1.4 * docs/Makefile.am: * docs/.cvsignore * docs/glib-config.1: * docs/glib.texi: Moved docs from gtk and created glib-config.1 from gtk-config.1 in gtk * configure.in: * Makefile.am: * sanity_check: added in docs directory, change rule 'release' to 'snapshot' and created a new 'release' rule for doing the distribution. Added in a 'sanity' rule. * NEWS: * README: * INSTALL: Updated for the release
42 lines
777 B
Bash
Executable File
42 lines
777 B
Bash
Executable File
#!/bin/sh
|
|
|
|
VERSION=$1
|
|
|
|
if [ ! -f glib-$VERSION.tar.gz ]; then
|
|
echo "ERROR: glib-$VERSION.tar.gz does not exist..."
|
|
exit 1
|
|
fi
|
|
|
|
echo ""
|
|
|
|
echo "Checking glib-$VERSION.tar.gz..."
|
|
tar xfz glib-$VERSION.tar.gz
|
|
|
|
|
|
for file in README NEWS glib.spec docs/glib-config.1
|
|
do
|
|
echo -n "$file... "
|
|
if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" == "x1" ]; then
|
|
echo "ok"
|
|
else
|
|
echo "failed."
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
echo -n "INSTALL..."
|
|
if [ "x`grep $VERSION glib-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" == "x2" ]; then
|
|
echo "ok"
|
|
else
|
|
echo "failed."
|
|
exit 1
|
|
fi
|
|
|
|
echo ""
|
|
echo "Number of lines in created documentation files:"
|
|
|
|
wc -l glib-$VERSION/docs/*.html | grep -v total
|
|
wc -l glib-$VERSION/docs/*.info | grep -v total
|
|
|
|
rm -rf glib-$VERSION
|