5 if [ ! -f glib-$VERSION.tar.gz ]; then
6 echo "ERROR: glib-$VERSION.tar.gz does not exist..."
12 echo "Checking glib-$VERSION.tar.gz..."
13 tar xfz glib-$VERSION.tar.gz
16 for file in README NEWS glib.spec docs/glib-config.1
19 if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" == "x1" ]; then
28 if [ "x`grep $VERSION glib-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" == "x2" ]; then
36 echo "Number of lines in created documentation files:"
38 wc -l glib-$VERSION/docs/*.html | grep -v total
39 wc -l glib-$VERSION/docs/*.info | grep -v total