|
NAMEdeclean —
clean up after a Debian package build
SYNOPSIS
DESCRIPTIONThedeclean utility attempts to clean up the files
generated by the build of a Debian source package. It is intended to be used
after a “debuild clean” or equivalent command, and removes the
*.deb, *.changes, etc. files
from the parent directory. Actually, declean removes
all files with names containing an underscore (‘*_*’), and then
restores the original source archives by copying everything from the parent
directory's dist/ subdirectory back into the parent
directory.
This is all a bit complicated; see below for a simple example :) RETURN VALUESThedeclean utility exits 0 on success,
and >0 if an error occurs.
If the parent directory does not contain a
dist/ subdirectory, ENVIRONMENTThedeclean utility's operation is currently not
directly affected by its environment.
FILESThedeclean utility's operation is currently not
directly affected by any files.
EXAMPLESMy personal workflow when modifying a Debian package is:apt-get source timelimit mkdir dist cp *.orig.tar.gz dist/ cd timelimit*/ debuild -uc -us debuild clean declean (repeat the last three steps ad infinitum ;) SEE ALSOdebuild(1), dpkg-source(1)HISTORYThedeclean utility was written by
Peter Pentchev in 2005.
AUTHORSPeter Penchev ⟨roam@ringlet.net⟩
Visit the GSP FreeBSD Man Page Interface. |