update mkrel to deal with changed source layout
authorTom Yu <tlyu@mit.edu>
Tue, 16 Feb 2010 22:41:27 +0000 (22:41 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 16 Feb 2010 22:41:27 +0000 (22:41 +0000)
Update mkrel so it deals somewhat better with removed src/lib/des425,
NOTICES, etc.

ticket: 6663
target_version: 1.8
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23726 dc483132-0cff-0310-8789-dd5450dbe970

src/util/mkrel

index ca91087671e16b0a2e8b27ba1b83b678838a2ebe..8d00357bdea62acb368e905bb850d2db389ece11 100755 (executable)
@@ -200,6 +200,12 @@ fi
 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 \
@@ -208,10 +214,10 @@ if test $multitar = t; then
 
                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