Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87F84C432BE for ; Sat, 28 Aug 2021 20:27:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5DF3E60C51 for ; Sat, 28 Aug 2021 20:27:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231276AbhH1U2s (ORCPT ); Sat, 28 Aug 2021 16:28:48 -0400 Received: from mail.netfilter.org ([217.70.188.207]:54484 "EHLO mail.netfilter.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230253AbhH1U2s (ORCPT ); Sat, 28 Aug 2021 16:28:48 -0400 Received: from netfilter.org (unknown [78.30.35.141]) by mail.netfilter.org (Postfix) with ESMTPSA id 847B26007E; Sat, 28 Aug 2021 22:26:59 +0200 (CEST) Date: Sat, 28 Aug 2021 22:27:52 +0200 From: Pablo Neira Ayuso To: Jan Engelhardt , Jeremy Sowden , Netfilter Development Subject: Re: libnetfilter_queue: automake portability warning Message-ID: <20210828202752.GA15388@salvia> References: <7n261qsp-or96-6559-5orp-srp285p4p6q@vanv.qr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org On Sun, Aug 29, 2021 at 05:45:29AM +1000, Duncan Roe wrote: > On Sat, Aug 28, 2021 at 03:39:38PM +0200, Jan Engelhardt wrote: > > > > On Friday 2021-08-27 23:09, Jeremy Sowden wrote: > > > > >Running autogen.sh gives the following output when it gets to > > >doxygen/Makefile.am: > > > > > > doxygen/Makefile.am:3: warning: shell find $(top_srcdir: non-POSIX variable name > > > doxygen/Makefile.am:3: (probably a GNU make extension) > > > > > >Automake doesn't understand the GNU make $(shell ...) [...] > > > > Or, third option, ditch the wildcarding and just name the sources. If going for > > a single Makefile (ditching recursive make), that will also be beneficial for > > parallel building, and the repo is not too large for such undertaking to be > > infeasible. > > > Certainly naming the sources would work. > > But, with wildcarding, Makefile.am works unmodified in other projects, such as > libmnl. Indeed I was planning to have libmnl/autogen.sh fetch both > doxygen/Makefile.am and doxygen/build_man.sh > > If the project ends up with a single Makefile, it could `include` nearly all of > the existing doxygen/Makefile.am, and autogen.sh could fetch that in other > projects. doxygen's Makefile.am is relatively small now. autogen.sh can be used to keep build_man.sh in sync, that should be good enough, my main concern is that addressed with shell script split off. So I'd suggest remove the wildcarding from Makefile.am too.