MAKEPPCLEAN(1) | Makepp | MAKEPPCLEAN(1) |
makeppclean -- Stand-alone cleanup script for makepp
?: -?, A: -A,
--args-file,
--arguments-file, B: -b,
--build-cache-links, D: -d,
E: --empty-directories, H: -h,
--help, K: -k,
--keep-src-info, L: -l,
--leave-src-info,
--log, M: -m,
--makepp,
$MAKEPPCLEANFLAGS,
--meta, O: --only-build-cache-links,
--only-logs,
--only-meta,
--only-repository-links, R: -R,
-r,
--recurse,
--recursive,
--repository-links, V: -V,
-v,
--verbose,
--version
makeppclean [ -b ] [ -l ] [ -R ] [ -r ] [ -v ] [ path ... ]
mppc [ -b ] [ -l ] [ -R ] [ -r ] [ -v ] [ path ... ]
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.
Makeppclean looks at the following environment variable:
Anders Johnson <anders@ieee.org>
2021-01-06 | perl v5.32.0 |