netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nft 0/2] doc: fix cleaning of man-pages
@ 2023-08-06 10:22 Jeremy Sowden
  2023-08-06 10:22 ` [PATCH nft 1/2] doc: move man-pages to `dist_man_MANS` Jeremy Sowden
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jeremy Sowden @ 2023-08-06 10:22 UTC (permalink / raw)
  To: Netfilter Devel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-10  7:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-06 10:22 [PATCH nft 0/2] doc: fix cleaning of man-pages Jeremy Sowden
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

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