DECLEAN man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

DECLEAN(1)		  BSD General Commands Manual		    DECLEAN(1)

NAME
     declean — clean up after a Debian package build

SYNOPSIS
     declean

DESCRIPTION
     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 origi‐
     nal 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 VALUES
     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.

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

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

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

SEE ALSO
     debuild(1), dpkg-source(1)

HISTORY
     The declean utility was written by Peter Pentchev in 2005.

AUTHORS
     Peter Penchev ⟨roam@ringlet.net⟩

BSD				August 17, 2010				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net