cvs commit: src Makefile.inc1 Makefile_upgrade.inc src/etc Makefile

From:

Matthias Schmidt <matthias@xxxxxxxxxxxxxxxxxxxxxxx>

Date:

Sun, 13 Jan 2008 02:59:31 -0800 (PST)

matthias 2008/01/13 02:59:31 PST
DragonFly src repository
Modified files:
. Makefile.inc1
etc Makefile
Added files:
. Makefile_upgrade.inc
Log:
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.
Revision Changes Path
1.112 +1 -1 src/Makefile.inc1
1.206 +17 -317 src/etc/Makefile
http://www.dragonflybsd.org/cvsweb/src/Makefile.inc1.diff?r1=1.111&r2=1.112&f=uhttp://www.dragonflybsd.org/cvsweb/src/etc/Makefile.diff?r1=1.205&r2=1.206&f=u