Manpages

Manpage of DEBCLEAN

DEBCLEAN

Section: User Commands (1)
Updated: Debian Utilities
Index
Return to Main Contents
 

NAME

debclean - cleanup a sourcecode tree  

SYNOPSIS

debclean [--cleandebs|--nocleandebs]  

DESCRIPTION

debclean 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 VARIABLES

The 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:
DEBCLEAN_CLEANDEBS
If this is set to yes, then it is the same as the --cleandebs command line parameter being used.
 

AUTHOR

Christoph Lameter <clameter@debian.org>; modifications by Julian Gilbey <jdg@debian.org>.


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONFIGURATION VARIABLES
AUTHOR

This document was created by man2html, using the manual pages.
Time: 07:04:18 GMT, April 16, 2024