---
name: "tla-buildpackage"
section: "1"
platform: "linux"
package: "tla-buildpackage"
version: "0.9.14"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/tla-buildpackage"
---

# tla-buildpackage(1)

Build Debian packages from a tla/Arch archive

## NAME

tla-buildpackage - Build Debian packages from a tla/Arch archive

## SYNOPSIS

**tla-buildpackage** \[ *args for* *debuild ...* \]

## DESCRIPTION

The **tla-buildpackage** command is used to build Debian source and .deb packages from a checked-out version of a Debian source tree. Please refer to the **tla-buildpackage** manual for instructions on how to check out such a tree.

**tla-buildpackage** will, in order:

- •

  Verify that it is being executed from the proper location.

- •

  Check to see if a proper orig.tar.gz exists. If not, it will check out the proper upstream directory from the **tla-buildpackage** repository (if necessary) and build the orig.tar.gz.  The orig.tar.gz will not contain Arch meta-data.

- •

  Call [**debuild**(1)](/debuild/1.md) with arguments instructing it to ignore Arch meta-data in the diff.gz, passing along all arguments given to **tla-buildpackage**.

## OPTIONS

All options passed to **tla-buildpackage** (except for **-h**, **--help**, **-v**, and **--version**) are sent directly to [**debuild**(1)](/debuild/1.md).

## EXAMPLE

```
~$ cd ~/tree/debian
~/tree/debian$ tla buildcfg debian/rdiff-backup/0.12.5-1
~/tree/debian$ cd +packages/rdiff-backup/rdiff-backup-0.12.5
~/tree/debian/+packages/rdiff-backup/rdiff-backup-0.12.5$ tla-buildpackage \
        -rfakeroot
```

## FILES

The following specific files are used by this application:

- *~/.tla-buildpackage*

  Specifies the default working copy location for all build procedures.  This file, and the directory it specifies, are both normally created by **tbp-initarchive**.

## ENVIRONMENT

The following environment variables are used by this application:

- **TBP\_WC**

  Specifies the working copy area for **tla-buildpackage** to use for all build-related tasks, overriding the value in *~/.tla-buildpackage*, if any.

## COPYRIGHT

tla-buildpackage, all associated scripts and programs, this manual, and all build scripts are Copyright (C) 2003 John Goerzen, 2008 Hubert Chathi.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA

## AUTHOR

**tla-buildpackage**, its modules, documentation, executables, and all included files, except where noted, was written by John Goerzen \<jgoerzen@complete.org\> and Hubert Chathi \<hubert@uhoreg.ca\>, and copyright is held as stated in the COPYRIGHT section.

**tla-buildpackage** may be downloaded from the Debian packaging system or at\
  \<URL:http://packages.debian.org/tla-buildpackage\>.

**tla-buildpackage** may also be downloaded using tla like this:

```
$ tla register-archive hubert@uhoreg.ca--public \
  http://vcs.uhoreg.ca/arch/hubert@uhoreg.ca--public
$ tla get \
  hubert@uhoreg.ca--public/tla-buildpackage--mainline--1.0 \
  tla-buildpackage
```

## SEE ALSO

Detailed usage information, including a background and a description of how the tools fit together, can be found in the tla-buildpackage Manual.  On Debian systems, you may find this at */usr/share/doc/tla-buildpackage*.

**tla-buildpackage** applications have references in that manual and the following manpages:  [**tbp-initarchive**(1)](/tbp-initarchive/1.md), [**tbp-importdsc**(1)](/tbp-importdsc/1.md), [**tbp-importorig**(1)](/tbp-importorig/1.md), [**tbp-markdeb**(1)](/tbp-markdeb/1.md), [**tla-buildpackage**(1)](/tla-buildpackage/1.md).

Other related references include: [**tla**(1)](/tla/1.md), [**debuild**(1)](/debuild/1.md), [**dpkg-buildpackage**(1)](/dpkg-buildpackage/1.md).
