------------------------------------------------------------------------
r23726 | tlyu | 2010-02-16 17:41:27 -0500 (Tue, 16 Feb 2010) | 8 lines
ticket: 6663
subject: update mkrel to deal with changed source layout
target_version: 1.8
tags: pullup
Update mkrel so it deals somewhat better with removed src/lib/des425,
NOTICES, etc.
ticket: 6663
version_fixed: 1.8
status: resolved
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-8@23727
dc483132-0cff-0310-8789-
dd5450dbe970
echo "Generating tarfiles..."
GZIP=-9; export GZIP
if test $multitar = t; then
+ if test -d $reldir/src/lib/des425; then
+ des425=$reldir/src/lib/des425
+ fi
+ if test -f $reldir/NOTICE;
+ then notice=$reldir/NOTICE
+ fi
if test $dosrc = t; then
gtar --exclude $reldir/src/lib/crypto \
--exclude $reldir/src/lib/des425 \
gtar zcf ${reldir}.crypto.tar.gz \
$reldir/src/lib/crypto \
- $reldir/src/lib/des425
+ $des425
fi
if test $dodoc = t; then
- gtar zcf ${reldir}.doc.tar.gz $reldir/doc $reldir/README
+ gtar zcf ${reldir}.doc.tar.gz $reldir/doc $reldir/README $notice
fi
ls -l ${reldir}.*.tar.gz
fi