From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5B4E71F487 for ; Thu, 2 Apr 2020 00:02:14 +0000 (UTC) Received: from localhost ([::1]:38732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJnJE-0008AS-Vx for normalperson@yhbt.net; Wed, 01 Apr 2020 20:02:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49719) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJnJ8-0008AJ-NQ for bug-gnulib@gnu.org; Wed, 01 Apr 2020 20:02:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJnJ6-0006P3-OF for bug-gnulib@gnu.org; Wed, 01 Apr 2020 20:02:06 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::4]:24374) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jJnJ0-0006Cq-Q5; Wed, 01 Apr 2020 20:01:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1585785715; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=BOaypfsXp+F8yLfgjiABqsE4IZ6cBWco2sTxQeh3544=; b=iEyLBuZcFHWt5liY1J86b19LtdDsCIuA8+zl7Y0OKKZGBwh/1YUEOMIvOFIQ9mQWwF uINsFEmOfr88sS6+2LRJRQNJhDqJmnBOHScK+oIB11DaHWE/BGNWhhjrnDwHYTLbW3Mi 9KFt28kjvjzvzjuggNrVQYfRuLYyqWJAhXyTCucl9EZCCxqVeaemLOaqtfZW/jCl5h7I lHu1FwuWDdCpOJfn4ST70rbk/wwlsn5TJiLRFFwL3Use54ac7v7BHwX06l2bOZfZ13bj e1X6t3Ukb9EL6x6Rb4NC2UsyVqmBV40c7AiNGKsNSw4aXYDNXKey76teGoLRPWLa2uHa 2svg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.2.1 DYNA|AUTH) with ESMTPSA id D01ccaw3201qVpk (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Thu, 2 Apr 2020 02:01:52 +0200 (CEST) From: Bruno Haible To: bug-gnulib@gnu.org Subject: Re: [PATCH 0/1] old-fashioned suffix rules cannot have any prerequisites Date: Thu, 02 Apr 2020 02:01:51 +0200 Message-ID: <2570716.HM9oLIS7Al@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-174-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <20200401131254.1330-1-ptr@void-ptr.info> References: <20200401131254.1330-1-ptr@void-ptr.info> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::4 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Petr Ovtchenkov , bug-gettext@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" [CCing bug-gettext, because po/Makefile.in.in comes from GNU gettext.] Petr Ovtchenkov wrote in > Template po/Makefile.in.in use old-fashioned suffix rules > for generating .gmo. But this rules do not allow any prerequisites. > > See: > > https://www.gnu.org/software/make/manual/html_node/Suffix-Rules.html#Suffix-Rules > > > Suffix rules cannot have any prerequisites of their own. If they have > any, they are treated as normal files with funny names, not as suffix > rules. Thus, the rule: > ... > > > This lead to problem when used relatively new GNU Make: > > make[3]: *** No rule to make target 'en.gmo', needed by ... > Please, to make it easier for me to reproduce, could you tell which version of GNU make you're using? > In this patch I am avoid significant changes and gmake-specific > syntax. But % pattern rules are GNU make specific syntax, since this syntax is not specified by POSIX [1]. I fear that I'll have to use a more complicated fix... Bruno [1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html