Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@openwide.fr>
To: gdb-patches@sourceware.org
Cc: Yao Qi <yao.qi@linaro.org>,
	Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	Yao Qi <qiyaoltc@gmail.com>
Subject: Re: [PATCH] [RFC] gdb: add disable-docs option
Date: Thu, 24 Sep 2015 20:10:00 -0000	[thread overview]
Message-ID: <560458C2.8000703@openwide.fr> (raw)
In-Reply-To: <1441532245-23124-1-git-send-email-romain.naour@openwide.fr>

Ping.

Best regards,
Romain Naour

Le 06/09/2015 11:37, Romain Naour a écrit :
> If makeinfo is not found in the system then the missing
> script is used to warn the user.
> 
> Before commit e30465112ed4c6320dd19107302057a5f7712cf2 the missing
> script returned 0 after printing the message.
> 
> Now, missing return 127 (command not found) to the Makefile and
> the build fail.
> 
> As suggested [1], add a new option to disable the documentation.
> 
> [1] http://lists.busybox.net/pipermail/buildroot/2015-September/138824.html
> 
> Fixes:
> http://autobuild.buildroot.net/results/dee/dee1326baf26ad1eb6e12a7d033428eca50d00bc/build-end.log
> 
> Signed-off-by: Romain Naour <romain.naour@openwide.fr>
> Cc: Yao Qi  <yao.qi@linaro.org>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> This patch is untested since I can't regenerate the configure script
> due to autoconf version mismatch.
> 
> configure.ac:34: error: Please use exactly Autoconf 2.64 instead of 2.69.
> ---
>  gdb/ChangeLog    | 4 ++++
>  gdb/Makefile.in  | 7 ++++++-
>  gdb/configure.ac | 7 +++++++
>  3 files changed, 17 insertions(+), 1 deletion(-)
> 
> diff --git a/gdb/ChangeLog b/gdb/ChangeLog
> index 370980d..900e53f 100644
> --- a/gdb/ChangeLog
> +++ b/gdb/ChangeLog
> @@ -1,3 +1,7 @@
> +2015-09-06  Romain Naour <romain.naour@openwide.fr>  (tiny change)
> +
> +	* configure.ac: add disable-docs option
> +
>  2015-09-04  Andrew Burgess  <andrew.burgess@embecosm.com>
>  
>  	* tui/tui-data.c (win_with_focus): Remove cast of NULL pointer.
> diff --git a/gdb/Makefile.in b/gdb/Makefile.in
> index 0d7cf97..bfbb6be 100644
> --- a/gdb/Makefile.in
> +++ b/gdb/Makefile.in
> @@ -1089,7 +1089,12 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
>  
>  TSOBS = inflow.o
>  
> -SUBDIRS = doc @subdirs@ data-directory $(GNULIB_BUILDDIR)
> +SUBDIRS = @subdirs@ data-directory $(GNULIB_BUILDDIR)
> +
> +if INSTALL_DOC
> +SUBDIRS += doc
> +endif
> +
>  CLEANDIRS = $(SUBDIRS)
>  
>  # List of subdirectories in the build tree that must exist.
> diff --git a/gdb/configure.ac b/gdb/configure.ac
> index 29d0b63..79c370b 100644
> --- a/gdb/configure.ac
> +++ b/gdb/configure.ac
> @@ -107,6 +107,13 @@ PACKAGE=gdb
>  AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of this package. ])
>  AC_SUBST(PACKAGE)
>  
> +# Enable/Disable documentation
> +AC_ARG_ENABLE([docs],
> +  [AS_HELP_STRING([--disable-docs],
> +    [disable building of documentation])],
> +  wantdocs=$enableval, wantdocs=yes)
> +AM_CONDITIONAL([INSTALL_DOC], [test "$wantdocs" = "yes"])
> +
>  # We never need to detect it in this sub-configure.
>  # But preserve it for config.status --recheck.
>  AC_ARG_VAR(MAKEINFO,
> 


       reply	other threads:[~2015-09-24 20:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1441532245-23124-1-git-send-email-romain.naour@openwide.fr>
2015-09-24 20:10 ` Romain Naour [this message]
2015-09-24 21:12 ` Mike Frysinger
2015-09-24 21:47   ` Doug Evans
2015-09-25  8:58     ` Romain Naour
2015-09-25 11:50       ` Simon Marchi
2015-09-25 13:53       ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=560458C2.8000703@openwide.fr \
    --to=romain.naour@openwide.fr \
    --cc=gdb-patches@sourceware.org \
    --cc=qiyaoltc@gmail.com \
    --cc=thomas.petazzoni@free-electrons.com \
    --cc=yao.qi@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox