* src/util/mkrel: Edit patchlevel.h before running reconf
authorTom Yu <tlyu@mit.edu>
Thu, 22 Jun 2006 20:06:45 +0000 (20:06 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 22 Jun 2006 20:06:45 +0000 (20:06 +0000)
ticket: 3922
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18204 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 \