mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-06 01:16:17 +01:00
36f6b54fb2
Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org> * Released GLib 1.2.1 * README: INSTALL: NEWS: sanity_check: updated * glibconfig.h.win32.in: Makefile.am: docs/glib-config.1.in: docs/Makefile.am: Added files used to generate new files. * glibconfig.h.win32: docs/glib-config.1: Removed, now generated. * configure.in: Added to output now-generated files.
42 lines
748 B
Bash
Executable File
42 lines
748 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
|
|
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
|