Subject: build.sh snapshot doesn't run postinstall fix obsolete
To: None <tech-toolchain@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-toolchain
Date: 06/26/2005 14:38:54
The 'distribution' target of src/Makefile contains:

.if defined(DESTDIR) && ${DESTDIR} != "" && ${DESTDIR} != "/"
	${MAKEDIRTARGET} . postinstall-fix-obsolete
	${MAKEDIRTARGET} distrib/sets checkflist
.endif

Which helpfully removes any old files before running checkflist.

However there is nothing that runs the postinstall-fix-obsolete if
you execute the 'snapshot' target.
I can't see the best place to add it either, 'snapshot' doesn't seem
to be implemented the same way as distribution.  I would have thought
that it would do 'distribution' first.

This is all a PITA because there isn't an easy way to perform the
latter stages of a 'snapshot' without trundling through many minutes
of pointless makefiles.

	David

-- 
David Laight: david@l8s.co.uk