diff --git a/debian/control b/debian/control index 88198468..a3374060 100644 --- a/debian/control +++ b/debian/control @@ -9,13 +9,13 @@ Build-Depends: debhelper-compat (= 13), libcrypt-dev, libpam0g-dev, quilt, - xsltproc, - docbook-xsl, - docbook-xml, - libxml2-utils, + xsltproc , + docbook-xsl , + docbook-xml , + libxml2-utils , libselinux1-dev [linux-any], libsemanage-dev [linux-any], - itstool, + itstool , bison, libaudit-dev [linux-any] Standards-Version: 4.6.1 diff --git a/debian/rules b/debian/rules index ea56ab93..da3c3810 100755 --- a/debian/rules +++ b/debian/rules @@ -21,6 +21,10 @@ DEB_CONFIGURE_EXTRA_FLAGS := --without-libcrack \ --without-tcb \ SHELL=/bin/sh +ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),) +DEB_CONFIGURE_EXTRA_FLAGS += --disable-man +endif + # Set the default editor for vipw/vigr CFLAGS += -DDEFAULT_EDITOR="\"sensible-editor\""