netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeremy Sowden <jeremy@azazel.net>
To: Netfilter Devel <netfilter-devel@vger.kernel.org>
Subject: [PATCH nft 0/2] doc: fix cleaning of man-pages
Date: Sun,  6 Aug 2023 11:22:46 +0100	[thread overview]
Message-ID: <20230806102248.3517776-1-jeremy@azazel.net> (raw)

Currently, the man-page pages are generated by `make dist`, but removed
by `make clean`.  By constrast, the flex and bison C sources, which are
also generated by `make dist`, are removed by `make maintainer-clean`.
The latter are handled automatically by automake, and in fact a change
was committed to src/Makfile.am to remove them from `CLEANFILES` for
this reason:

  http://git.netfilter.org/nftables/commit/src/Makefile.am?id=3eaba1125798c7b8f2e8ad3d1a572de6b84f4e5a

However, automake doesn't automatically generate man-pages in `make
dist`: we have to tell it to do so; and thus we also have to tell it
when to clean them.  This patch-set changes the clean target for the
man-pages to follow the pattern automake uses for bison and flex.

Jeremy Sowden (2):
  doc: move man-pages to `dist_man_MANS`
  doc: move man-pages to `MAINTAINERCLEANFILES`

 doc/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
2.40.1


             reply	other threads:[~2023-08-06 10:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-06 10:22 Jeremy Sowden [this message]
2023-08-06 10:22 ` [PATCH nft 1/2] doc: move man-pages to `dist_man_MANS` Jeremy Sowden
2023-08-06 10:22 ` [PATCH nft 2/2] doc: move man-pages to `MAINTAINERCLEANFILES` Jeremy Sowden
2023-08-10  7:15 ` [PATCH nft 0/2] doc: fix cleaning of man-pages Pablo Neira Ayuso

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=20230806102248.3517776-1-jeremy@azazel.net \
    --to=jeremy@azazel.net \
    --cc=netfilter-devel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).