udisks: only build documentation if requested
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 19 Nov 2013 22:49:09 +0000 (23:49 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 19 Nov 2013 22:49:09 +0000 (23:49 +0100)
Fixes http://autobuild.buildroot.org/results/b23/b234e63f92e6e5162dd5340624e32caa31b82a1a/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/udisks/udisks.mk

index 28855dd0035d14a570d4385e247cb4c5de80da15..08e942ae19b3996d2098721246e62ba56a123494 100644 (file)
@@ -20,7 +20,8 @@ UDISKS_DEPENDENCIES =         \
        lvm2            \
        libatasmart
 
-UDISKS_CONF_OPT = --disable-remote-access
+UDISKS_CONF_OPT = --disable-remote-access \
+       $(if $(BR2_HAVE_DOCUMENTATION),,--disable-man-pages)
 
 ifeq ($(BR2_PACKAGE_UDISKS_LVM2),y)
 UDISKS_CONF_OPT += --enable-lvm2