git: Add sanity check to "remove-deprecated-files" target.

Daniel Fojt deef at crater.dragonflybsd.org
Fri Jul 31 05:25:19 PDT 2020


commit d5d36918ba8270b25193b0e4651b8efe546616a6
Author: Daniel Fojt <df at neosystem.org>
Date:   Sat Jul 25 20:02:43 2020 +0200

    Add sanity check to "remove-deprecated-files" target.
    
    Import helper awk script to detect objects linked to particular
    library.
    
    Separate the check to a new target "check-deprecated-files" in
    etc/Makefile and utilize the script to report libraries that are
    still in use.
    
    Default is to check directories under /usr/local/. Additional places
    to search may be specified via CHECK_DEPRECATED_DIRS variable, like:
    
       make CHECK_DEPRECATED_DIRS="/opt/lib /opt/bin" upgrade
    
    Suggested and reviewed by: Sascha Wildner

Summary of changes:
 etc/Makefile                  | 25 +++++++++++++++++++++++--
 tools/tools/chkldd/chkldd.awk | 20 ++++++++++++++++++++
 2 files changed, 43 insertions(+), 2 deletions(-)
 create mode 100644 tools/tools/chkldd/chkldd.awk

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d5d36918ba8270b25193b0e4651b8efe546616a6


-- 
DragonFly BSD source repository


More information about the Commits mailing list