]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
A much nicer fix to the clean/distclean issue.
authorNathan Scott <nathans@sgi.com>
Mon, 16 Jul 2001 08:42:02 +0000 (08:42 +0000)
committerNathan Scott <nathans@sgi.com>
Mon, 16 Jul 2001 08:42:02 +0000 (08:42 +0000)
Makepkgs

index 103c1f3f4d73f8de19a0a15f6c0cd7c870ee027e..e56d754b5df2a8d48ef5eb974646a8a479b820b1 100755 (executable)
--- a/Makepkgs
+++ b/Makepkgs
@@ -52,18 +52,19 @@ fi
 # build RPM packages - manual clean before starting
 echo "== clean, log is $LOGDIR/clean"
 if $verbose ; then
-       $MAKE distclean 2>&1 | tee $LOGDIR/clean
+       $MAKE clean 2>&1 | tee $LOGDIR/clean
 else
-       $MAKE distclean > $LOGDIR/clean 2>&1 
+       $MAKE clean > $LOGDIR/clean 2>&1 
 fi
 if [ $? -ne 0 ] ; then
-       echo \"$MAKE distclean\" failed, see log in $LOGDIR/clean
+       echo \"$MAKE clean\" failed, see log in $LOGDIR/clean
        tail $LOGDIR/clean
        exit 1
 fi
 
 echo
 echo "== configure, log is $LOGDIR/configure"
+rm -f .census  # force configure to run here
 if $verbose ; then
        autoconf 2>&1 | tee $LOGDIR/configure
        ./configure 2>&1 | tee -a $LOGDIR/configure