DragonFly submit List (threaded) for 2008-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: etc/Makefile cleanup
Matthias Schmidt wrote:
> * Simon 'corecode' Schubert wrote:
>> Matthias Schmidt wrote:
>>> Sascha suggested to install the FilesToRemove.inc with installworld to a
>>> temporary location and have "make upgrade" use this file instead of the
>>> one in the source tree.
>> That's good. Maybe make it even more sophisticated and install the list of
>> files to be removed. Then after make upgrade, install this list as "files that
>> were removed". Next time, we'll only have to remove the files that were added
>> (the delta), instead of blindly removing all files, even though they don't
>> exist anymore.
>
> Updated version with seatbelts for the user:
>
> http://leaf.dragonflybsd.org/~matthias/etc_makefile_update.diff
I guess you would want to remove the file /var/tmp/FilesToRemove.inc as
well?
Additionally, I think you can't use [ -e ] on constructs like {man,cat}
cheers
simon
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]