Re: OptionalObsoleteFiles.inc completeness improvement, try 2

From: Dmitry Marakasov <amdmi3_at_amdmi3.ru>
Date: Thu, 29 Jan 2015 00:15:04 +0300
* 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
Received on Wed Jan 28 2015 - 20:15:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:55 UTC