(debian-policy.info)debian/tmp


Prev: debian/files Up: The Debian package source tree
Enter node , (file) or (file)node

15.2.4 ‘debian/tmp’
-------------------

This is the default temporary location for the construction of binary
packages by the ‘binary’ target.  The directory ‘tmp’ serves as the root
of the file system tree as it is being constructed (for example, by
using the package’s upstream makefiles install targets and redirecting
the output there), and it also contains the ‘DEBIAN’ subdirectory.  See
Note: Creating package files - dpkg-deb.

This is only a default and can be easily overridden.  Most packaging
tools no longer use ‘debian/tmp’, instead preferring ‘debian/pkg’ for
the common case of a source package building only one binary package.
Such tools usually only use ‘debian/tmp’ as a temporary staging area for
built files and do not construct packages from it.

If several binary packages are generated from the same source tree, it
is usual to use a separate ‘debian/pkg’ directory for each binary
package as the temporary construction locations.

Whatever temporary directories are created and used by the ‘binary’
target must of course be removed by the ‘clean’ target.


automatically generated by info2www version 1.2.2.9