Subject: snapshot doesn't run postinstall fix obsolete
To: None <>
From: David Laight <>
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

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 Laight: