From 68b072bcc802234177858affc891f9916792b1bf Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 26 Apr 2023 11:16:03 +0200 Subject: [PATCH] debian/rules: remove override_dh_autoreconf The Makefile already runs autoreconf -fi in the "utils" target: utils: (cd host && \ autoreconf -fi && \ ./configure --prefix=/usr --disable-werror && \ make) The override is not useful, as it leads to debhelper running autoreconf as well, but without running ./configure and make in the host directory afterwards. So autoreconf just runs twice. I've also considered to change debian/rules to only run the "fw" target, and not the "utils" target of the Makefile. But that only makes it more complex, as debhelper would then need to run make twice, once in the root directory (as "make fw"), and once in the host directory. We would need to add several lines to debian/rules to do effectively the same thing. Make this change now, as "cd host && dh_autoreconf" doesn't work with debhelper compat level v10 anymore (--sourcedir could be used instead, but as mentioned above, it's not useful). Related: OS#5958 Change-Id: I12f379b4ec2de6adc86557d89319ab1d04ed5e73 --- debian/rules | 3 --- 1 file changed, 3 deletions(-) diff --git a/debian/rules b/debian/rules index 2c615db6..9d1fa4b0 100755 --- a/debian/rules +++ b/debian/rules @@ -14,6 +14,3 @@ export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions %: dh $@ - -override_dh_autoreconf: - cd host && dh_autoreconf