Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1BC9C04A94 for ; Thu, 10 Aug 2023 07:15:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229740AbjHJHP0 (ORCPT ); Thu, 10 Aug 2023 03:15:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232071AbjHJHPZ (ORCPT ); Thu, 10 Aug 2023 03:15:25 -0400 Received: from ganesha.gnumonks.org (ganesha.gnumonks.org [IPv6:2001:780:45:1d:225:90ff:fe52:c662]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D70D8E40 for ; Thu, 10 Aug 2023 00:15:22 -0700 (PDT) Received: from [78.30.34.192] (port=32968 helo=gnumonks.org) by ganesha.gnumonks.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qTzt7-008wWC-48; Thu, 10 Aug 2023 09:15:19 +0200 Date: Thu, 10 Aug 2023 09:15:16 +0200 From: Pablo Neira Ayuso To: Jeremy Sowden Cc: Netfilter Devel Subject: Re: [PATCH nft 0/2] doc: fix cleaning of man-pages Message-ID: References: <20230806102248.3517776-1-jeremy@azazel.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230806102248.3517776-1-jeremy@azazel.net> Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org On Sun, Aug 06, 2023 at 11:22:46AM +0100, Jeremy Sowden wrote: > 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. Series applied, thanks