All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Sowden <jeremy@azazel.net>
To: Duncan Roe <duncan_roe@optusnet.com.au>
Cc: Pablo Neira Ayuso <pablo@netfilter.org>,
	Netfilter Development <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH libnetfilter_queue v3 1/3] build: doc: Fix NAME entry in man pages
Date: Sun, 22 Aug 2021 10:26:18 +0100	[thread overview]
Message-ID: <YSIYOtDRZfz++w1q@azazel.net> (raw)
In-Reply-To: <YSHFbmTDw1wb4Wvq@slk1.local.net>

[-- Attachment #1: Type: text/plain, Size: 2032 bytes --]

On 2021-08-22, at 13:33:02 +1000, Duncan Roe wrote:
> On Sat, Aug 21, 2021 at 10:55:28AM +0100, Jeremy Sowden wrote:
> > On 2021-08-21, at 15:38:03 +1000, Duncan Roe wrote:
> > > Add a post_process() function to the big shell script inside
> > > doxygen/Makefile.am
> [...]
> >
> > Would it not make life easier to move all this shell-script into a
> > build_man.sh and just call that from the make-file?  Patch attached.
>
> Of course it would, and that's how it was at library release 1.0.5,
> but `make distcheck` would not pass, as it doesn't pass with your
> patch as supplied.

Ah, yes, sorry, I did see you mention `make distcheck`, but it slipped
my mind.

> Your patch inspired me to try one last time and, thanks to hours of
> grovelling through `info autoconf`, `make distcheck` passes with the
> 1-line patch below.
>
> Remarkably, the resulting tarball includes doxygen/build_man.sh even
> though there is no EXTRA_DIST entry for it in Makefile.am.
>
> VPATH builds still work (e.g. mkdir build; cd build; ../configure;
> make) and `make distcleancheck` still passes afterward.
>
> So, I'll push out another patch rev shortly. Thanks!
>
> From a1795e7f1baff2d477d0a0a7e3058343baf3d85e Mon Sep 17 00:00:00 2001
> From: Duncan Roe <duncan_roe@optusnet.com.au>
> Date: Sun, 22 Aug 2021 11:19:22 +1000
> Subject: [PATCH libnetfilter_queue] Replace ./build_man.sh with
>  $(abs_top_srcdir)/doxygen/build_man.sh
>
> Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
> ---
>  doxygen/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doxygen/Makefile.am b/doxygen/Makefile.am
> index 52dca07..aa19c5a 100644
> --- a/doxygen/Makefile.am
> +++ b/doxygen/Makefile.am
> @@ -25,7 +25,7 @@ doxyfile.stamp: $(doc_srcs) Makefile.am
>  # but not blank lines
>
>  if BUILD_MAN
> -	./build_man.sh
> +	$(abs_top_srcdir)/doxygen/build_man.sh
>  endif

Funnily enough, I fixed a number of bugs like this earlier in the year
in another context.  One might have hoped to have remembered.  Oh well.

J.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2021-08-22  9:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-21  5:38 [PATCH libnetfilter_queue v3 1/3] build: doc: Fix NAME entry in man pages Duncan Roe
2021-08-21  5:38 ` [PATCH libnetfilter_queue v3 2/3] build: doc: can choose what to build and install Duncan Roe
2021-08-21  5:38 ` [PATCH libnetfilter_queue v3 3/3] build: doc: VPATH builds work again Duncan Roe
2021-08-21  9:55 ` [PATCH libnetfilter_queue v3 1/3] build: doc: Fix NAME entry in man pages Jeremy Sowden
2021-08-22  3:33   ` Duncan Roe
2021-08-22  4:00     ` Duncan Roe
2021-08-22  9:26     ` Jeremy Sowden [this message]

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=YSIYOtDRZfz++w1q@azazel.net \
    --to=jeremy@azazel.net \
    --cc=duncan_roe@optusnet.com.au \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.