Make make fix-export less verbose.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18825 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-22 15:51:57 +00:00
parent ff5e141560
commit 14ae9db133

View File

@@ -13,12 +13,9 @@ if test "$DATEDVERSION"; then
w
q
END
error=WARN
exitcmd=:
else
error=ERROR
exitcmd=exit
fi
ver=`sed -n 's/AC_INIT([^,]*,\([^,]*\),.*/\1/p' configure.in`
@@ -48,11 +45,13 @@ find . -name Makefile.am | while read f; do
y=`dirname $f`/`echo $i | sed 's/[0-9]$/cat&/'`
echo `grog -Tascii $x` \> $y
`grog -Tascii $x` > $y
perl -p -e 'exit 1 if (/NetBSD|FreeBSD|OpenBSD|Linux|OSF|Solaris/); exit 0;' $y
if [ $? != 0 ] ; then
echo "$error: catfile $y contains operating system"
head -1 $y
$exitcmd
if [ "X${error}" = "ERROR" ] ; then
perl -p -e 'exit 1 if (/NetBSD|FreeBSD|OpenBSD|Linux|OSF|Solaris/); exit 0;' $y
if [ $? != 0 ] ; then
echo "$error: catfile $y contains operating system"
head -1 $y
exit 1
fi
fi
done
done
@@ -81,10 +80,7 @@ make_proto appl/login login_protos.h /dev/null '$(login_SOURCES)'
make_proto kcm kcm_protos.h /dev/null '$(kcm_SOURCES)'
make_proto kdc kdc-protos.h kdc-private.h '$(libkdc_la_SOURCES)'
rm fix-export make-release make-release.el
find . -name .cvsignore -print | xargs rm
find . -name .__afs\* -print | xargs rm
rm -fr autom4te*.cache
# this assumes flex and bison
yaccify () {
:
@@ -105,6 +101,15 @@ lexify lib/com_err/lex.l
lexify lib/sl/lex.l
lexify lib/sl/slc-lex.l
#clean
rm fix-export make-release make-release.el
find . -name .cvsignore -print | xargs rm
find . -name .__afs\* -print | xargs rm
rm -fr autom4te*.cache
echo "tar cf - ${distdir} | gzip -9 > ${distdir}.tar.gz"
echo "gpg -ba -u 0x45D901D8 ${distdir}.tar.gz"