when building DATEDVERSION, just ignore operating system tags in manpages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12523 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
10
fix-export
10
fix-export
@@ -13,6 +13,12 @@ if test "$DATEDVERSION"; then
|
|||||||
w
|
w
|
||||||
q
|
q
|
||||||
END
|
END
|
||||||
|
|
||||||
|
error=WARN
|
||||||
|
exitcmd=:
|
||||||
|
else
|
||||||
|
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`
|
||||||
@@ -44,9 +50,9 @@ find . -name Makefile.am | while read f; do
|
|||||||
`grog -Tascii $x` > $y
|
`grog -Tascii $x` > $y
|
||||||
perl -p -e 'exit 1 if (/NetBSD|FreeBSD|OpenBSD|Linux|OSF|Solaris/); exit 0;' $y
|
perl -p -e 'exit 1 if (/NetBSD|FreeBSD|OpenBSD|Linux|OSF|Solaris/); exit 0;' $y
|
||||||
if [ $? != 0 ] ; then
|
if [ $? != 0 ] ; then
|
||||||
echo "ERROR: catfile $y contains operating sysstem"
|
echo "$error: catfile $y contains operating system"
|
||||||
head -1 $y
|
head -1 $y
|
||||||
exit 1
|
$exitcmd
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user