From 5506970add9c35d1b7d5fd750a7b75e51d2add68 Mon Sep 17 00:00:00 2001
From: Tom Yu <tlyu@mit.edu>
Date: Mon, 26 Jun 2006 02:53:21 +0000
Subject: [PATCH] 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
version_fixed: 1.5

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-5@18222 dc483132-0cff-0310-8789-dd5450dbe970
---
 src/util/mkrel | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

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 \
-- 
2.26.2