Patchwork libserial: prevent documentation from being build

login
register
mail settings
Submitter Richard Genoud
Date June 21, 2013, 10:53 a.m.
Message ID <1371812010-9902-1-git-send-email-richard.genoud@gmail.com>
Download mbox | patch
Permalink /patch/253184/
State Accepted
Commit 2e0aff3b5cf2f83a3ddd31dfd572b29a8288f6be
Headers show

Comments

Richard Genoud - June 21, 2013, 10:53 a.m.
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@gmail.com>
---
 package/libserial/libserial.mk |    2 ++
 1 file changed, 2 insertions(+)
Peter Korsgaard - June 24, 2013, 11:40 a.m.
>>>>> "Richard" == Richard Genoud <richard.genoud@gmail.com> writes:

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

Committed, thanks.

Patch

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))