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.5 required=3.0 tests=BAYES_00, 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 D2E9C1F487 for ; Wed, 1 Apr 2020 14:16:09 +0000 (UTC) Received: from localhost ([::1]:60938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJeA4-00048f-VM for normalperson@yhbt.net; Wed, 01 Apr 2020 10:16:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58141) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJcmt-0002JG-JM for bug-gnulib@gnu.org; Wed, 01 Apr 2020 08:48:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJcms-00065D-Dg for bug-gnulib@gnu.org; Wed, 01 Apr 2020 08:48:07 -0400 Received: from [185.44.68.223] (port=53690 helo=void-ptr.info) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jJcms-00064e-4Z for bug-gnulib@gnu.org; Wed, 01 Apr 2020 08:48:06 -0400 Received: from ptr by void-ptr.info with local (Exim 4.72) (envelope-from ) id 1jJcSr-0000CH-Ky; Wed, 01 Apr 2020 15:27:25 +0300 From: Petr Ovtchenkov To: bug-gnulib@gnu.org Subject: [PATCH 0/1] old-fashioned suffix rules cannot have any prerequisites Date: Wed, 1 Apr 2020 15:26:30 +0300 Message-Id: <20200401122631.696-1-ptr@void-ptr.info> X-Mailer: git-send-email 2.25.0.dirty MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.44.68.223 X-Mailman-Approved-At: Wed, 01 Apr 2020 10:15:40 -0400 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 Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" 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 ... In this patch I am avoid significant changes and gmake-specific syntax. BTW, looks, that "%ts: %ds" notaion is preferable for BSD make too: https://www.freebsd.org/cgi/man.cgi?query=make&apropos=0&sektion=0&manpath=SunOS+5.9&format=html (Implicit Rules section). Petr Ovtchenkov (1): old-fashioned suffix rules cannot have any prerequisites build-aux/po/Makefile.in.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.25.0.dirty