pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/bootstrap catch up to bootstrap being in pkgsrc.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e988440e6b12
branches:  trunk
changeset: 470684:e988440e6b12
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Mar 11 13:10:45 2004 +0000

description:
catch up to bootstrap being in pkgsrc.

diffstat:

 bootstrap/cleanup |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 35103274a0e6 -r e988440e6b12 bootstrap/cleanup
--- a/bootstrap/cleanup Thu Mar 11 13:08:06 2004 +0000
+++ b/bootstrap/cleanup Thu Mar 11 13:10:45 2004 +0000
@@ -1,17 +1,19 @@
 #! /bin/sh
 
-# $NetBSD: cleanup,v 1.1.1.1 2004/03/11 13:03:59 grant Exp $
+# $NetBSD: cleanup,v 1.2 2004/03/11 13:10:45 grant Exp $
 #
 
+wrkdir=work
+
 if [ -d /usr/ccs/bin -a -x /usr/ccs/bin/make ]; then
         PATH=/usr/ccs/bin:$PATH; export PATH
 fi
 
-(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; \
+(cd $wrkdir/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; \
        [ -f mk/bsd.man.mk.orig ] && mv -f mk/bsd.man.mk.orig mk/bsd.man.mk; \
        [ -f mk/bsd.lib.mk.orig ] && mv -f mk/bsd.lib.mk.orig mk/bsd.lib.mk; )
 for d in libnbcompat digest tnftp pax pkg_install mtree sed; do
-       (cd $d; [ -f Makefile ] && make distclean)
+       (cd $wrkdir/$d; [ -f Makefile ] && make distclean)
 done
 
-rm -f Makefile.inc mk.conf.example digest/.size */config.cache
+rm -f Makefile.inc mk.conf.example $wrkdir/digest/.size */config.cache



Home | Main Index | Thread Index | Old Index