make delete-old question

John Nielsen lists at jnielsen.net
Sun Nov 4 12:05:36 PST 2007


On Sunday 04 November 2007, Per olof Ljungmark wrote:
> Hi,
>
> Is there a clever way to run make delete-old in /usr/src so that (y)
> will be the default answer? Otherwise it's pressing "y" 437 times in my
> case...

This is covered in build(7), one of the manpages in the 
very-useful-but-not-very-obvious category (along with ports, hier, security 
and tuning IMO (all of which are also in section 7 of the manual..))

Anyway, it's
 make -DBATCH_DELETE_OLD_FILES delete-old
 make -DBATCH_DELETE_OLD_FILES delete-old-libs

JN


More information about the freebsd-questions mailing list