DragonFly commits List (threaded) for 2008-01
DragonFly BSD
DragonFly commits List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 13 Jan 2008 11:36:16 -0800 (PST)

:  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@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]