Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Jul 2002 17:24:08 -0600 (MDT)
From:      "M. Warner Losh" <imp@village.org>
To:        paul@freebsd-services.com
Cc:        drosih@rpi.edu, tlambert2@mindspring.com, sheldonh@starjuice.net, current@FreeBSD.ORG
Subject:   Re: Removing perl in make world
Message-ID:  <20020706.172408.22142523.imp@village.org>
In-Reply-To: <1025955773.881.29.camel@lobster.originative.co.uk>
References:  <1025921146.881.16.camel@lobster.originative.co.uk> <p05111738b94c05988039@[128.113.24.47]> <1025955773.881.29.camel@lobster.originative.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <1025955773.881.29.camel@lobster.originative.co.uk>
            Paul Richards <paul@freebsd-services.com> writes:
: A 'sysclean' target would be the same in my mind. If you're "within
: spec" of what -current supports then running that target shouldn't hose
: you. If you're outside spec then you need to take your own precautions.

NetBSD has in its distribution sets things that look like:
	obsolete.mi
	obsolete.${ARCH}
and its distribution tools remove the old cruft on installation of the
newer distribution set.

Something like the following would then put things right:

sysclean:
	@ head -2 ${SRCDIR}/release/obsolete.mi | xargs rm
	@ head -2 ${SRCDIR}/release/obsolete.${MACHINE_ARCH} | xargs rm

would be the FreeBSD way of saying something similar.  However, the
obsolete.mi file would get large with time :-)

Warner
	

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020706.172408.22142523.imp>