summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <pino@debian.org>2013-09-23 14:12:43 +0200
committerPino Toscano <pino@debian.org>2013-09-23 14:12:43 +0200
commitff4f35e831e5fc60a7e2ff2f2ac476d4222f0641 (patch)
tree3dc93f9a59f1dbb6650ad2d5907d9892aeef7050
parent0bc8eb2bc2ac33cedef15ab3183e1eb5abd529e1 (diff)
rules: allow to pass own configure args to build flavours
-rwxr-xr-xdebian/rules6
1 files changed, 4 insertions, 2 deletions
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