Page MenuHomeFreeBSD

Add list-old-{dirs,files,libs} targets.
ClosedPublic

Authored by jhb on Dec 7 2021, 11:00 PM.
Tags
None
Referenced Files
F164718163: D33327.id101320.diff
Mon, Aug 3, 8:17 AM
F164718014: D33327.id99676.diff
Mon, Aug 3, 8:16 AM
Unknown Object (File)
Sun, Aug 2, 3:58 AM
Unknown Object (File)
Tue, Jul 21, 3:45 PM
Unknown Object (File)
Tue, Jul 21, 12:26 PM
Unknown Object (File)
Sat, Jul 18, 7:28 PM
Unknown Object (File)
Jul 5 2026, 1:18 AM
Unknown Object (File)
Jul 2 2026, 8:26 PM
Subscribers

Details

Summary

These targets generate a raw list of the candidate old files roughly
corresponding to the values of OLD_DIRS, OLD_FILES, and OLD_LIBS.
Currently list-old-files also includes uncompressed manpages in
addition to compressed manpages.

Use these targets in the implementation of check-old-* and
delete-old-* to replace duplicated logic.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Dec 7 2021, 11:00 PM

This looks good to my eye...

This revision is now accepted and ready to land.Jan 6 2022, 12:02 AM
Makefile.inc1
3312

Removing this sort means that check-old now lists "debug" files next to libraries instead of grouping them in the middle. In particular, it now matches the order that delete-old prompts in non-batch mode.

This revision was automatically updated to reflect the committed changes.