OptionalObsoleteFiles.inc completeness improvement, try 2
Dmitry Marakasov
amdmi3 at amdmi3.ru
Wed Jan 28 21:15:31 UTC 2015
* Dmitry Marakasov (amdmi3 at amdmi3.ru) wrote:
The patch is complete, see https://reviews.freebsd.org/D1600.
- With it, for all knobs from src.conf(5) there are no difference in
file tree contents between `KNOB make installworld` and `make
installworld && KNOB make delete-old delete-old-libs`
- Note that some OLD_DIRS were removed - they were incorrect as most
directories are installed unconditionally by mtree. Since empty
directores are not really needed, the install process should be
probably improved
- Some knobs which delete massive number of files (WITHOUT_MAN,
WITHOUT_INCLUDES) were implemented with
FILES!=find ...
OLD_FILES+=${FILES}
(similar construct was already used in WITHOUT_TESTS)
I though of more effective implementation for this, such as
introducing OLD_DIRS_RECURSIVE to fill from OptionalObsoleteFiles,
in which delete-old will just call `find ... -delete`
- Unneeded conditions such as
.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "powerpc64"
OLD_FILES+=usr/lib32/...
.else
were not removed yet. Maybe with the next patch.
--
Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru ..: jabber: amdmi3 at jabber.ru http://www.amdmi3.ru
More information about the freebsd-current
mailing list