debian: add the build profile noudeb
This is a standard build profile. Not building udebs speeds up test
builds if only the full-fat version is going to be tested anyway.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
diff --git a/debian/control.in b/debian/control.in
index 37cbad4..d03756e 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -109,6 +109,7 @@
ifdef(`UDEB_PKGS',``
Package: e2fsprogs-udeb
+Build-Profiles: <!noudeb>
Package-Type: udeb
Section: debian-installer
Priority: optional
diff --git a/debian/rules b/debian/rules
index c559a5d..2bdcbcc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,10 @@
SKIP_FUSE2FS=yes
endif
+ifneq ($(filter noudeb,$(DEB_BUILD_PROFILES)),)
+SKIP_UDEB=yes
+endif
+
DH_VERSION := $(shell dpkg-query -W -f '$${Version}' debhelper)
# USE_DBGSYM :=