From: Tom Yu Date: Sat, 22 Jul 2006 00:52:39 +0000 (+0000) Subject: pull up r18204 from trunk X-Git-Tag: kfw-3.1.0-beta1~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3137de3ca3df80c9774e5ec8c82ec90169875171;p=krb5.git pull up r18204 from trunk r18204@cathode-dark-space: tlyu | 2006-06-22 16:06:45 -0400 ticket: 3922 tags: pullup * src/util/mkrel: Edit patchlevel.h before running reconf. ticket: 3922 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@18376 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/mkrel b/src/util/mkrel index 51d47afc9..f540aa3c8 100755 --- a/src/util/mkrel +++ b/src/util/mkrel @@ -139,22 +139,6 @@ if test $checkout = t; then svn export $repository/$reltag $reldir fi -if test $dosrc = t; then - if test -d $reldir/src/util/autoconf; then - echo "Building autoconf..." - (cd $reldir/src/util/autoconf - M4=gm4 ./configure - make) - fi - echo "Creating configure scripts..." - (cd $reldir/src; util/reconf) - - if test -d $reldir/src/util/autoconf; then - echo "Cleaning src/util/autoconf..." - (cd $reldir/src/util/autoconf; make distclean) - fi -fi - echo "Editing release-specific files..." if test $newstyle = t; then @@ -182,6 +166,22 @@ EOF ) fi +if test $dosrc = t; then + if test -d $reldir/src/util/autoconf; then + echo "Building autoconf..." + (cd $reldir/src/util/autoconf + M4=gm4 ./configure + make) + fi + echo "Creating configure scripts..." + (cd $reldir/src; util/reconf) + + if test -d $reldir/src/util/autoconf; then + echo "Cleaning src/util/autoconf..." + (cd $reldir/src/util/autoconf; make distclean) + fi +fi + echo "Nuking unneeded files..." find $reldir \( -name TODO -o -name todo -o -name .cvsignore \ -o -name BADSYMS -o -name .Sanitize -o -name .rconf \) -print \