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