[Pkg-giraffe-discuss] [PATCH 2/4] debian/rules: adjust the targets after dh version change

c.schoenert at t-online.de c.schoenert at t-online.de
Sun Dec 18 16:14:56 UTC 2016


From: Carsten Schoenert <c.schoenert at t-online.de>

Especially after the move to dh10 the autotools need a file
config.rpath. But for libvmime we can ignore this file and just touching
this file so autoreconf will be happy.

Because of dh_autoreconf we don't need to call bootstrap then again,
which does the same basically as dh_autoreconf. We can remove that call.
---
 debian/rules | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 73aeaf3..f637d33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,8 +36,11 @@ override_dh_auto_clean:
 	cd src ; rm -f `find . -type l`
 	dh_auto_clean
 
+override_dh_autoreconf:
+	touch autotools/config.rpath
+	dh_autoreconf
+
 override_dh_auto_configure:
-	[ -f ./bootstrap ] && ./bootstrap
 	dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_ARGS)
 
 override_dh_install:
-- 
2.10.2




More information about the Pkg-giraffe-discuss mailing list