DEBCLEANSection: User Commands (1)
Updated: Debian Utilities
Return to Main Contents
NAMEdebclean - cleanup a sourcecode tree
DESCRIPTIONdebclean walks through the directory tree starting at the directory tree in which it was invoked, and executes debian/rules clean for each Debian source directory encountered.
Also, if the --cleandebs option is given, then in every directory containing a Debian source tree, all files named *.deb, *.changes and *.dsc are removed. The .diff.gz and the tar.gz files are not touched so that the release can be reconstructed if necessary, and the .upload files are left so that debchange functions correctly. The --nocleandebs option prevents this extra cleaning behaviour and the --cleandebs option forces it. This can also be achieved by setting the config file option DEBCLEAN_CLEANDEBS to yes. The default is not to clean these files.
debclean uses debuild(1) to clean the source tree.
CONFIGURATION VARIABLESThe two configuration files /etc/devscripts.conf and ~/.devscripts are sourced in that order to set configuration variables. Command line options can be used to override configuration file settings. Environment variable settings are ignored for this purpose. The currently recognised variable is:
AUTHORChristoph Lameter <email@example.com>; modifications by Julian Gilbey <firstname.lastname@example.org>.
This document was created by man2html, using the manual pages.
Time: 07:24:54 GMT, July 15, 2020