Add Makefile_upgrade.inc to the tree. This file contains all files
commit0b8d828645c4dc0848a7c8abd652892c73b89b3f
authorMatthias Schmidt <matthias@dragonflybsd.org>
Sun, 13 Jan 2008 10:59:31 +0000 (13 10:59 +0000)
committerMatthias Schmidt <matthias@dragonflybsd.org>
Sun, 13 Jan 2008 10:59:31 +0000 (13 10:59 +0000)
tree24909d9e1e188cf83d194c583b4b1038ae346038
parent5c2f93ca97c77b7a565f9c5ed45ddfa78f5412ec
Add Makefile_upgrade.inc to the tree.  This file contains all files
which are obsolete as of now and can be removed by a 'make upgrade'
run.  This should prevent further polluting of etc/Makefile with
rm -rf $foo statements.

The file is installed by 'make installworld' to ${DESTDIR}/var/db
and gets parsed by 'make upgrade'.  If a user exchanges the two commands
by accident, 'make upgrade' prints a warning and doesn't remove any
files.  The upgrade file itself is removed after a successful run.
Makefile.inc1
Makefile_upgrade.inc [new file with mode: 0644]
etc/Makefile