Add Makefile_upgrade.inc to the tree. This file contains all files
authorMatthias Schmidt <matthias@dragonflybsd.org>
Sun, 13 Jan 2008 10:59:31 +0000 (10:59 +0000)
committerMatthias Schmidt <matthias@dragonflybsd.org>
Sun, 13 Jan 2008 10:59:31 +0000 (10:59 +0000)
commit6aa3516dfa4516200af0fa09e568d11cf0a54445
treefe59805306966d7609500ede8350cb1b3d7c6a4a
parent4bac454848f69f31cbbb8afd67e59be42d7a4c1b
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