Easier with one place for configure options for disabling gtk-doc

This commit is contained in:
Thomas Lundquist 2009-01-17 10:11:12 +00:00
parent 22ba8bcf0e
commit fa2273f409
5 changed files with 6 additions and 3 deletions

View File

@ -248,6 +248,7 @@ $(BUILD_DIR)/%/.stamp_configured:
--prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
$(DISABLE_DOCUMENTATION) \
$(QUIET) $($(PKG)_CONF_OPT)
$(Q)touch $@

View File

@ -345,6 +345,10 @@ ifneq ($(BR2_LARGEFILE),y)
DISABLE_LARGEFILE= --disable-largefile
endif
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
DISABLE_DOCUMENTATION=--without-html-dir --disable-gtk-doc
endif
ifneq ($(BR2_INET_IPV6),y)
DISABLE_IPV6= --disable-ipv6
endif

View File

@ -46,7 +46,6 @@ ifeq ($(BR2_PACKAGE_DIRECTFB),y)
CAIRO_CONF_OPT = --disable-xlib --without-x --enable-directfb
CAIRO_DEPENDENCIES_EXTRA = directfb
endif
CAIRO_CONF_OPT += --disable-gtk-doc --without-html-dir
CAIRO_DEPENDENCIES = uclibc gettext libintl pkgconfig zlib libpng fontconfig $(CAIRO_DEPENDENCIES_EXTRA) pixman $(XSERVER)

View File

@ -48,8 +48,6 @@ LIBGLIB2_CONF_ENV = \
gt_cv_c_wchar_t=$(if $(BR2_USE_WCHAR),yes,no)
LIBGLIB2_CONF_OPT = --enable-shared \
--disable-gtk-doc \
--with-html-dir=/dev/null \
--enable-static
LIBGLIB2_DEPENDENCIES = uclibc gettext libintl pkgconfig

View File

@ -75,6 +75,7 @@ LIBGTK2_CONF_OPT = --enable-shared \
--disable-glibtest \
--enable-explicit-deps=no \
--disable-debug \
--without-html-dir \
$(DISABLE_LARGEFILE) \
$(LIBGTK2_CONF_OPT_X) \
$(LIBGTK2_CONF_OPT_DFB)