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

index 8168b5c96f55d4bd8cb3934491fba6e9a8ae47e8..027ef4faca195035883fd2e23fb70dcaf35e963d 100644 (file)
@@ -8,7 +8,8 @@ XPROTO_XCMISCPROTO_VERSION = 1.2.1
 XPROTO_XCMISCPROTO_SOURCE = xcmiscproto-$(XPROTO_XCMISCPROTO_VERSION).tar.bz2
 XPROTO_XCMISCPROTO_SITE = http://xorg.freedesktop.org/releases/individual/proto
 XPROTO_XCMISCPROTO_INSTALL_STAGING = YES
-XPROTO_XCMISCPROTO_INSTALL_TARGET = NO
+XPROTO_XCMISCPROTO_CONF_OPT = $(if $(BR2_HAVE_DOCUMENTATION),,--disable-specs)
+HOST_XPROTO_XCMISCPROTO_CONF_OPT = --disable-specs
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))