From: Tom Yu Date: Mon, 21 Aug 2006 20:31:51 +0000 (+0000) Subject: clean up mkrel patchlevel.h editing etc X-Git-Tag: krb5-1.6-alpha1~170 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e5f17af48f68fda6d3de2cf25bd3f86289400ec;p=krb5.git clean up mkrel patchlevel.h editing etc * src/util/mkrel: Be more careful editing KRB5_RELDATE. Delete '$ac_config_fragdir' autoconf droppings. ticket: new tags: pullup target_version: 1.5.1 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18475 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/mkrel b/src/util/mkrel index 2384b7dee..ca9108767 100755 --- a/src/util/mkrel +++ b/src/util/mkrel @@ -143,7 +143,7 @@ echo "Editing release-specific files..." if test $newstyle = t; then (cd $reldir/src && \ - sed -e '/RELDATE/c\ + sed -e '/#[a-z ]*KRB5_RELDATE/c\ #define KRB5_RELDATE "'"$reldate"'"' patchlevel.h > patchlevel.h.new && \ mv patchlevel.h.new patchlevel.h) if test $checkout = t; then @@ -189,7 +189,8 @@ echo "Nuking unneeded files..." find $reldir \( -name TODO -o -name todo -o -name .cvsignore \ -o -name BADSYMS -o -name .Sanitize -o -name .rconf \) -print \ | xargs rm -f || true -find $reldir -type d \( -name autom4te.cache -o -name .svn \) -exec rm -rf {} \; || true +find $reldir -type d \( -name autom4te.cache -o -name .svn \ + -o -name \$ac_config_fragdir \) -exec rm -rf {} \; || true if test $dodoc = t; then echo "Building doc..."