]> git.ipfire.org Git - people/ms/libloc.git/commitdiff
debian: Add intltoolize to dh_auto_configure
authorValters Jansons <valter.jansons@gmail.com>
Tue, 6 Apr 2021 11:13:31 +0000 (14:13 +0300)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Apr 2021 15:07:06 +0000 (15:07 +0000)
Debian has automated building tools that handle source trees directly.
It is expected that you can pick up a source tarball, and with the
appropriate debian/ subtree, a successful build can be produced using
the `debuild` tool. This depends on all the build steps having been
included as part of the debian/rules file (see: `man debuild`).

This commit ensures there is no need to manually run autogen.sh
on a locally extracted source tarball prior to building for Debian.
This is accomplished by adding the `intltoolize` command to the
override_dh_auto_configure step in d/rules.

There is no need to add the `autoreconf` command due to dh-autoreconf
always handling that prior to the dh_auto_configure step.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
debian/rules

index 4e544d7e973a842b35886d8360ea71b522ec9c19..8893b7b23ed997da26153b5685d114a0c20f20f9 100755 (executable)
@@ -10,6 +10,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
        dh $@ --with python3 --with-systemd
 
 override_dh_auto_configure:
+       intltoolize --force --automake
        dh_auto_configure -- --disable-perl
 
 override_dh_perl: