Daniel Pfeiffer > makepp-1.50-cvs-080810 > makeppclean

Download:
makepp-1.50-cvs-080810.tgz

Annotate this POD

CPAN RT

New  2
Open  0
View Bugs
Report a bug
Source   Latest Release: makepp-1.50.090221

NAME ^

makeppclean -- Stand-alone cleanup script for makepp

SYNOPSIS ^

makeppclean [ -b ] [ -l ] [ -R ] [ -r ] [ -v ] [ path ... ]

mppc [ -b ] [ -l ] [ -R ] [ -r ] [ -v ] [ path ... ]

DESCRIPTION ^

Makeppclean efficiently removes files that were knowingly generated through makepp. For each path, if path is not a directory and was known to be generated by makepp by virtue of having a build info file with a matching signature, then remove path and its build info file; and if path is a directory, do the same for every file in path, and then remove the build info directory below path. path defaults to ".".

The traditional approach to removing generated files is to create a clean target in your makefiles whose action is to remove all of the targets. This approach has some fundamental limitations:

Provided that your intention is to remove all the generated files without regard for which makefile (if any) currently generates them, then these limitations are avoided by using makeppclean.

OPTIONS ^

-A filename
--args-file=filename
--arguments-file=filename

Read the file and parse it as possibly quoted options on one or several lines.

-l
--leave-src-info

Leave the build info directory below each named directory.

-b
--build-cache-links
--only-build-cache-links

Remove only links or files from a build cache.

-R
--repository-links
--only-repository-links

Remove only links pointing to a repository.

-r
--recurse
--recursive

Descend each named directory recursively. Symbolic links are not followed.

-v
--verbose

Enable verbose output to STDERR.

ENVIRONMENT ^

Makeppclean looks at the following environment variable:

MAKEPPCLEANFLAGS

Any flags in this environment variable are interpreted as command line options before any explicit options. Quotes are interpreted like in makefiles.

AUTHOR ^

Anders Johnson <anders@ieee.org>