Package: debian-policy
Severity: minor

Hi,

The section C.2.4 seems to be a bit outdated.  Quote:

"""
C.2.4 debian/tmp

This is the canonical 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. [...]

If several binary packages are generated from the same source tree it
is usual to use several debian/tmpsomething directories, for example
tmp-a or tmp-doc.

[...]
"""

However, the default used by debhelper is "debian/<pkg>", which covers
up to 99% of all packages.

Note that "debian/tmp" is used still used as the default target for
"make install" (etc.) *if* there are several binaries and you use
"dh_auto_install".  When there is a single binary, dh_auto_install
defaults to installing all of it in "debian/<pkg>".
  Note that I cannot speak for packages *not* using dh_auto_install,
but I suspect this has become the default for many packages.

Thanks,
~Niels

Reply via email to