From ff4f35e831e5fc60a7e2ff2f2ac476d4222f0641 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Mon, 23 Sep 2013 14:12:43 +0200 Subject: rules: allow to pass own configure args to build flavours --- debian/rules | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 7b97c2c2..57d500b8 100755 --- a/debian/rules +++ b/debian/rules @@ -21,6 +21,8 @@ DEB_DESTDIR = $(CURDIR)/debian/tmp DEB_DESTDIR_UDEB = $(CURDIR)/debian/tmp-udeb CONFIGURE_ARGS = --disable-profile --enable-static-progs='ext2fs,iso9660fs' +CONFIGURE_ARGS_deb = +CONFIGURE_ARGS_udeb = SUID_PROGRAMS = /bin/ids /bin/login /bin/ps-hurd /usr/bin/w-hurd CC=gcc-4.7 @@ -34,8 +36,8 @@ INSTALL_generated := $(patsubst %.in,%,$(INSTALL_in)) dh $@ -Bbuild-deb --with autotools_dev,autoreconf override_dh_auto_configure: - dh_auto_configure -Bbuild-deb -- $(CONFIGURE_ARGS) $(shell dpkg-buildflags --export=configure) - dh_auto_configure -Bbuild-udeb -- $(CONFIGURE_ARGS) $(shell dpkg-buildflags --export=configure) + dh_auto_configure -Bbuild-deb -- $(CONFIGURE_ARGS) $(CONFIGURE_ARGS_deb) $(shell dpkg-buildflags --export=configure) + dh_auto_configure -Bbuild-udeb -- $(CONFIGURE_ARGS) $(CONFIGURE_ARGS_udeb) $(shell dpkg-buildflags --export=configure) override_dh_auto_build: dh_auto_build -Bbuild-deb -- cgit v1.2.3