batbuild(1)

NAME

batbuild - Most superior script for building a package

SYNOPSIS

batbuild [options]

DESCRIPTION

batbuild needs to be run from the main source directory. It will run a sanity check on the changelog as described in the Bat module and execute a debuild -S -sa afterwards.

The following actions usually are the creation of various diffs and pbuilding the package. PBuilder will store everything in ./build and run in a seperate Konsole window (this hopefully prevents you from accidentially killing the build by closing your main Konsole window ;-).
Tip
You can override the diff creation as well as the building by passing appropriate arguments to batbuild.
If you have to do a rebuild, batbuild will rename any existing ./build directory accordingly (it will also treat non-batbuild ./build directories somewhat properly - i.e. in case you used the pbuild command as suggested in the Kubuntu pbuilder-hooks, it will move the directory to build-pre-@timestamp). Usually batbuild will use the timestamp file in ./build to determine the most accurate folder name (which would not have the -pre- part obviously).

Tip
If you are using a custom pbuilder script (e.g. pbuilder-dist) you can set the PBUILDER environment variable (e.g. in .bashrc) in order to make batbuild use this script rather than pbuilder itself.

OPTIONS

--no-build
Don't build in pbuilder
--no-diff
Don't create diffs
--no-report
Don't create a final report

AUTHOR

Harald Sitter <apachelogger@ubuntu.com>.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout