pull up r18204 from trunk
authorTom Yu <tlyu@mit.edu>
Sat, 22 Jul 2006 00:52:39 +0000 (00:52 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 22 Jul 2006 00:52:39 +0000 (00:52 +0000)
 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

src/util/mkrel

index 51d47afc924f7da38ce9e5a0d4751c919372c9bf..f540aa3c83224d64ec4fe85c33f5f2a6f18c4336 100755 (executable)
@@ -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 \