xlib_libSM: only build documentation if needed
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 26 Sep 2012 20:51:01 +0000 (22:51 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 26 Sep 2012 20:51:01 +0000 (22:51 +0200)
Documentation generation is slow, so only create it if requested.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/x11r7/xlib_libSM/xlib_libSM.mk

index a8d1eff1b5d95f060e076fbc8fda0d7f3499526c..bdbda3fe56332335b1f91c5673b8ecc563ea37db 100644 (file)
@@ -11,4 +11,9 @@ XLIB_LIBSM_INSTALL_STAGING = YES
 XLIB_LIBSM_DEPENDENCIES = xlib_libICE xlib_xtrans xproto_xproto
 XLIB_LIBSM_CONF_OPT = --without-libuuid
 
+ifneq ($(BR2_HAVE_DOCUMENTATION),y)
+# documentation generation is slow
+XLIB_LIBSM_CONF_OPT += --disable-docs
+endif
+
 $(eval $(autotools-package))