Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Oct 2008 18:23:44 -0400
From:      Dan Langille <dan@langille.org>
To:        freebsd-stable@freebsd.org
Subject:   make delete-old vs make-delete-libs
Message-ID:  <48E69B70.3090804@langille.org>

next in thread | raw e-mail | index | archive | help
I'm wondering if these commands from /usr/src/Makefile are correctly 
described:


# check-old           - List obsolete directories/files/libraries.
# check-old-dirs      - List obsolete directories.
# check-old-files     - List obsolete files.
# check-old-libs      - List obsolete libraries.
# delete-old          - Delete obsolete directories/files/libraries.
# delete-old-dirs     - Delete obsolete directories.
# delete-old-files    - Delete obsolete files.
# delete-old-libs     - Delete obsolete libraries.


 From the above, it appears as if 'make delete-old' is the same as doing:

make delete-old-dirs
make delete-old-files
make delete-old-libs

Running the command indicates otherwise.  In fact, make delete-old outputs:

 >>> Removing old files (only deletes safe to delete libs)

and:

 >>> Old directories removed
To remove old libraries run 'make delete-old-libs'.


That indicates, to me, that only old files were deleted.  No old 
libraries were touched.

What's up here?  Which is right?

thanks.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48E69B70.3090804>