SYNOPSIS

debaux-build [\s-1OPTIONS\s0] \s-1DEBDIR\s0 [\s-1BUILDDIR\s0 \s-1SOURCEDIR\s0]

debaux-build --cpan Net::Google

VERSION

0.1.10

DESCRIPTION

debaux-build is a helper script for building Debian packages. Besides options it takes up to three parameters: \s-1DEBDIR\s0, \s-1BUILDDIR\s0, \s-1SOURCEDIR\s0. \s-1DEBDIR\s0 is a required parameter.

If \s-1DEBDIR\s0 doesn't exist, debaux-build tries to download the package with apt-get source.

debaux-build applies all patches found in the \s-1DEBDIR\s0 subdirectory patches.

If no source tarball exist and the \s-1DEBDIR\s0 subdirectory sources exist, all files in this directory get packed and used as source tarball.

OPTIONS

Forces apt-get source mode. Specifies file name of source archive. Options passed to \*(C`dpkg-buildpackage\*(C'. Download Perl module from \s-1CPAN\s0 and create necessary Debian packaging files. You need to have the dh-make Debian package installed in order to utilize this option. Empty package (no source code archive). Intended to use for task packages. Specifies epoch for \s-1CPAN\s0 builds.

Specifies a directory below \s-1DEBDIR\s0 which is copied to the build directory.

Install build package.

Run lintian on the source file and the generated packages.

Intended to use for native Debian packages. Specify the commands to build the archive here.

The generated packages are targeted for official Debian packages.

Convert generated packages into \s-1RPM\s0 packages by using \*(C`alien\*(C'.

Sign source package and changelog.

Don't apply patches from the patches directory and sources.diff file.

Instructs \*(C`debaux-build\*(C' to use the specified directory instead of an archive file.

Stop script before calling \*(C`dpkg-buildpackage\*(C'.

CONFIGURATION FILE

\*(C`debaux-build\*(C' looks for the configuration file \*(C`.debauxrc\*(C' in the home directory and in the current directory and recognizes the following directives: Used as \*(C`DEBDIR\*(C' for package if it is an existing directory. Considered before the <debiandir> directive. If the directory \*(C`DEBDIR\*(C' on the commandline doesn't exist, \*(C`debaux-build\*(C' appends \*(C`DEBDIR\*(C' to the specified directory and tries again. Directory with the source archives. Can be overridden by the commandline parameter \*(C`SOURCEDIR\*(C'. Directory with the source code for \s-1PACKAGE\s0.

RELATED TO debaux-build…

dpkg\|(8), dpkg-source\|(1), apt-get\|(8)

AUTHOR

Stefan Hornburg (Racke) <[email protected]>.

LICENSE

debaux-build comes with \s-1ABSOLUTELY\s0 \s-1NO\s0 \s-1WARRANTY\s0. This is free software, and you are welcome to redistribute and modify it under the terms of the \s-1GNU\s0 General Public License.

COPYRIGHT

Copyright 2000,2001,2002,2003,2004,2005,2006,2007 Stefan Hornburg (Racke) <[email protected]>.