Import p5-Array-Diff version 0.05.
[pkgsrc.git] / bootstrap / cleanup
1 #! /bin/sh
2
3 # $NetBSD: cleanup,v 1.21 2004/03/11 00:47:22 tv Exp $
4 #
5
6 if [ -d /usr/ccs/bin -a -x /usr/ccs/bin/make ]; then
7         PATH=/usr/ccs/bin:$PATH; export PATH
8 fi
9
10 (cd bmake; rm -f *.o lst.lib/*.o bmake bmake.boot Makefile confdefs.h config.h config.log config.status config.cache makefile.boot lst.lib/makefile.boot; \
11         [ -f mk/bsd.man.mk.orig ] && mv -f mk/bsd.man.mk.orig mk/bsd.man.mk; \
12         [ -f mk/bsd.lib.mk.orig ] && mv -f mk/bsd.lib.mk.orig mk/bsd.lib.mk; )
13 for d in libnbcompat digest tnftp pax pkg_install mtree sed; do
14         (cd $d; [ -f Makefile ] && make distclean)
15 done
16
17 rm -f Makefile.inc mk.conf.example digest/.size */config.cache