OptionalObsoleteFiles.inc completeness improvement, try 2
Dmitry Marakasov <amdmi3 <at> amdmi3.ru>
2015-01-24 00:29:56 GMT
Some years ago I've started a project of improving
OptionalObsoleteFiles.inc completeness, which allows make delete-old
/ delete-old-libs / delete-old-dirs targets completelty remove files
which are normally installed when specific src.conf WITHOUT_* knobs
In other words, if a user has some WITHOUT_* set in src.conf,
specific files are not installed by installworld, but not removed
by remove-old, which I try to fix.
In yet other words, I want to make it so `make installworld
-DWITHOUT_foo=yes` and `make installworld && make delete-old
-DWITHOUT_foo=yes` result in the very same file sets.
Though the project seems to be useful and have real demand (added
to IdeasPage by netchild <at> , though removed later by brooks <at> )
and interest (), the change was ignored back then and now the
patch is completely rotten. I can redo it, but I need a reviewer.
Here's a first small part of the patch:
The WIP branch with other changes is 
Also there is a question of delete-old-dirs removing directories
which are created by mtree run by installworld unconditionally.
This seems to be incorrect - either directories should be installed
conditionally or not removed by delete-old-dirs. My patch will