chiark / gitweb /
Rewrite packaging to use d/<pkg> for staging packages and use more debhelper
authorNiels Thykier <niels@thykier.net>
Mon, 30 Dec 2024 20:11:00 +0000 (20:11 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 12 Jan 2025 18:37:50 +0000 (18:37 +0000)
commit65d6531fbb0aa21a100d77169edd63d49e0718a9
treed30a13f4a6856f85f1c08ae11ed9b9df2dbcddac
parent60a1dab706b6bcb18a557f57821b49257009f07f
Rewrite packaging to use d/<pkg> for staging packages and use more debhelper

With this change, packages are now staged in debian/<pkg> rather than
debian/tmp/<pkg>. This simplifies using debhelper a lot since the
debhelper tools assumes debian/<pkg> by default. The packaging now also
uses a few more debhelper tools for standard handling.

The primary delta from the previous debs with this commits are:

 1) dh_installchangelogs uses native packaging rules without a
    "changelog.Debian.gz" compat symlink. Given the package is
    considered a native package, the loss of the symlink seemed
    acceptable.

 2) dh_installchangelogs trims out very old changelog entries, which
    the original code did not. This delta is to be expected but still
    noisy in the diffoscope delta.

 3) The package now uses dh_compress, which has a different rule
    set for what files to compress. So far, this means more files
    in /usr/share/doc are now compressed.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/rules