summaryrefslogtreecommitdiffstats
path: root/package/x11r7
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-09-26 22:51:01 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-09-26 22:51:01 +0200
commit812eae5ccf281f89efba6092cb432224c0f7e89c (patch)
tree2620772ab0776dd5eb72fafcebbc413ab4819ed1 /package/x11r7
parentc39cf6108ba5a8e8f4f3e6c6fb09b043db7cfd79 (diff)
downloadbuildroot-novena-812eae5ccf281f89efba6092cb432224c0f7e89c.tar.gz
buildroot-novena-812eae5ccf281f89efba6092cb432224c0f7e89c.zip
xlib_libSM: only build documentation if needed
Documentation generation is slow, so only create it if requested. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/x11r7')
-rw-r--r--package/x11r7/xlib_libSM/xlib_libSM.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/x11r7/xlib_libSM/xlib_libSM.mk b/package/x11r7/xlib_libSM/xlib_libSM.mk
index a8d1eff1b..bdbda3fe5 100644
--- a/package/x11r7/xlib_libSM/xlib_libSM.mk
+++ b/package/x11r7/xlib_libSM/xlib_libSM.mk
@@ -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))