cvs commit: src Makefile.inc1 Makefile_upgrade.inc src/etc Makefile
Matthew Dillon
dillon at apollo.backplane.com
Sun Jan 13 11:36:49 PST 2008
: 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.
Looks good, though I have a question: Why install the file anywhere?
Why not have make upgrade simply access the file directly from
/usr/src/etc ?
-Matt
Matthew Dillon
<dillon at backplane.com>
More information about the Commits
mailing list