From: Thomas De Schampheleire Date: Wed, 5 Feb 2014 13:51:00 +0000 (+0100) Subject: infra: remove separate definition of DISABLE_DOCUMENTATION X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e20df632c4cd717061ae8176a5c34181c671baee;p=buildroot.git infra: remove separate definition of DISABLE_DOCUMENTATION Since we now always disable documentation on target, there is no need to have a separate variable DISABLE_DOCUMENTATION anymore. Suggested-by: Thomas Petazzoni Signed-off-by: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- diff --git a/package/Makefile.in b/package/Makefile.in index a8f5650277..9d0e7d60ed 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -332,16 +332,6 @@ ifneq ($(BR2_LARGEFILE),y) DISABLE_LARGEFILE= --disable-largefile endif -# The configure option varies, but since unknown options are ignored -# we can pass all of them. -DISABLE_DOCUMENTATION = \ - --disable-gtk-doc \ - --disable-doc \ - --disable-docs \ - --disable-documentation \ - --with-xmlto=no \ - --with-fop=no - ifeq ($(BR2_INET_IPV6),y) DISABLE_IPV6= --enable-ipv6 else diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk index cfbdc27161..6f523353bb 100644 --- a/package/pkg-autotools.mk +++ b/package/pkg-autotools.mk @@ -109,7 +109,12 @@ define $(2)_CONFIGURE_CMDS --exec-prefix=/usr \ --sysconfdir=/etc \ --program-prefix="" \ - $$(DISABLE_DOCUMENTATION) \ + --disable-gtk-doc \ + --disable-doc \ + --disable-docs \ + --disable-documentation \ + --with-xmlto=no \ + --with-fop=no $$(DISABLE_NLS) \ $$(DISABLE_LARGEFILE) \ $$(DISABLE_IPV6) \