Oh GACK! src-clean doesn't quite work that easily since cleandist rebuilds the
authorJordan K. Hubbard <jkh@FreeBSD.org>
Wed, 29 Jun 1994 21:19:38 +0000 (21:19 +0000)
committerJordan K. Hubbard <jkh@FreeBSD.org>
Wed, 29 Jun 1994 21:19:38 +0000 (21:19 +0000)
obj links again and they need to be nuked out one more time after it's finished.
Sigh..  Oh well, this code will probably never be run again anyway.

etc/Makefile

index d4727bf..9cb5b77 100644 (file)
@@ -1,5 +1,5 @@
 #      from: @(#)Makefile      5.11 (Berkeley) 5/21/91
 #      from: @(#)Makefile      5.11 (Berkeley) 5/21/91
-#      $Id: Makefile,v 1.74 1994/06/28 05:37:04 jkh Exp $
+#      $Id: Makefile,v 1.75 1994/06/29 11:06:30 jkh Exp $
 
 # disktab may be wrong -- hcx9 is a tahoe, but gets its own.
 # -rw-r--r--
 
 # disktab may be wrong -- hcx9 is a tahoe, but gets its own.
 # -rw-r--r--
@@ -429,6 +429,7 @@ bin-tarball:
 
 src-clean:
        (cd ${DESTDIR}/usr/src; make cleandist)
 
 src-clean:
        (cd ${DESTDIR}/usr/src; make cleandist)
+       find ${DESTDIR}/usr/src -name obj | xargs -n30 rm -rf
        chown -R bin:bin ${DESTDIR}/usr/src
        chmod -R og-w ${DESTDIR}/usr/src
 
        chown -R bin:bin ${DESTDIR}/usr/src
        chmod -R og-w ${DESTDIR}/usr/src