[Buildroot] [PATCH] libserial: prevent documentation from being build

Richard Genoud richard.genoud at gmail.com
Fri Jun 21 10:53:30 UTC 2013


If docbook2pdf is present on the host, the documentation is built, no
matter all the --disable-doc*
But forcing ac_cv_prog_DOCBOOK2PDF to no tells configure that
docbook2pdf is absent, and thus the documentation is not built.

Signed-off-by: Richard Genoud <richard.genoud at gmail.com>
---
 package/libserial/libserial.mk |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/libserial/libserial.mk b/package/libserial/libserial.mk
index c5142c5..d2c928b 100644
--- a/package/libserial/libserial.mk
+++ b/package/libserial/libserial.mk
@@ -10,4 +10,6 @@ LIBSERIAL_INSTALL_STAGING = YES
 LIBSERIAL_LICENSE = GPLv2+
 LIBSERIAL_LICENSE_FILES = COPYING
 
+LIBSERIAL_CONF_ENV = ac_cv_prog_DOCBOOK2PDF=no
+
 $(eval $(autotools-package))
-- 
1.7.10.4



More information about the buildroot mailing list