GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DECLEAN(1) FreeBSD General Commands Manual DECLEAN(1)

declean
clean up after a Debian package build

declean

The declean 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 :)

The declean utility exits 0 on success, and >0 if an error occurs.

If the parent directory does not contain a dist/ subdirectory, declean will not remove any files but display an error message instead to prevent its being invoked from the wrong directory or destroying a package's source archive.

The declean utility's operation is currently not directly affected by its environment.

The declean utility's operation is currently not directly affected by any files.

My 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 ;)

debuild(1), dpkg-source(1)

The declean utility was written by Peter Pentchev in 2005.

Peter Penchev ⟨roam@ringlet.net⟩
August 17, 2010 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.