xlib_xtrans: only build documentation if explicitly requested
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 4 Dec 2012 02:28:21 +0000 (18:28 -0800)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 4 Dec 2012 02:28:21 +0000 (18:28 -0800)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/x11r7/xlib_xtrans/xlib_xtrans.mk

index 85829854bf26c2e3a6f899fb08d0cfb0da994e64..d47a0ed7c24a73a0655f44463eade2ffde2cde34 100644 (file)
@@ -8,6 +8,8 @@ XLIB_XTRANS_VERSION = 1.2.6
 XLIB_XTRANS_SOURCE = xtrans-$(XLIB_XTRANS_VERSION).tar.bz2
 XLIB_XTRANS_SITE = http://xorg.freedesktop.org/releases/individual/lib
 XLIB_XTRANS_INSTALL_STAGING = YES
+XLIB_XTRANS_CONF_OPT = $(if $(BR2_HAVE_DOCUMENTATION),,--disable-docs)
+HOST_XLIB_XTRANS_CONF_OPT = --disable-docs
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))