1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-07-17 23:47:52 +02:00
Files
debian
docs
glib
gmodule
gobject
gthread
m4macros
tests
.cvsignore
AUTHORS
COPYING
ChangeLog
ChangeLog.pre-1-2
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
HACKING
INSTALL
MAINTAINERS
Makefile.am
NEWS
README
README.win32
TODO.xml
acconfig.h
acglib.m4
acinclude.m4
autogen.sh
build-dll
config.guess
config.h.win32.in
config.sub
configure.in
garray.c
gasyncqueue.c
gbacktrace.c
gcache.c
gcompletion.c
gdataset.c
gdate.c
gerror.c
gerror.h
ghash.c
ghook.c
giochannel.c
giounix.c
giowin32.c
glib-2.0.m4
glib-config-2.0.in
glib-object.h
glib.def
glib.h
glib.rc.in
glib.spec.in
glibconfig.h.win32.in
glist.c
gmain.c
gmem.c
gmessages.c
gnode.c
gprimes.c
gqueue.c
grand.c
grel.c
gscanner.c
gslist.c
gstrfuncs.c
gstring.c
gthread.c
gthreadpool.c
gtimer.c
gtree.c
gunichartables.h
gunicode.h
gunidecomp.c
gunidecomp.h
guniprop.c
gutf8.c
gutils.c
gwin32.c
ltconfig
ltmain.sh
makefile.mingw.in
makefile.msc.in
sanity_check
testgdate.c
testgdateparser.c
testglib.c
glib/sanity_check

42 lines
785 B
Plaintext
Raw Normal View History

#!/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 INSTALL NEWS README 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