PKG_CLEANUP_DISTDIR(1)

NAME
PKG_CLEANUP_DISTDIR - cleanups DISTDIR directory

SYNOPSIS
pkg_cleanup_distdir [OPTIONS] [files ...]

DESCRIPTION
pkg_cleanup_distdir analyses ALLSRCFILES field of pkg_src_summary given on input and outputs list of files found in DISTDIR that are not referenced by any package. With option -r it removes all those files and empty subdirectories.

OPTIONS

-h  display help message

-r  Remove unreferenced files and empty subdirectories

ENVIRONMENT

DISTDIR
    Directory that contains distfiles

TMPDIR
    Directory for temporary files, by default /tmp is used.

EXAMPLES
pkg_cleanup_distdir -r /usr/pkgsrc/pkg_src_summary.txt

SEE ALSO
pkg_summary-utils(7), pkg_summary(5)

AUTHOR
Aleksey Cheusov <vle@gmx.net>