GNU bug report logs - #22223
support multiple '-local' targets in a single rule

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Severity: wishlist; Reported by: Basin Ilya <basinilya@HIDDEN>; Keywords: confirmed; dated Tue, 22 Dec 2015 17:15:02 UTC; Maintainer for automake is bug-automake@HIDDEN.
Added tag(s) confirmed. Request was from Mike Frysinger <vapier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Mike Frysinger <vapier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to 'support multiple '-local' targets in a single rule' from 'multiple '-local' targets in a rule' Request was from Mike Frysinger <vapier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Dec 2015 17:14:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 22 12:14:58 2015
Received: from localhost ([127.0.0.1]:60147 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aBQWY-0006d5-AS
	for submit <at> debbugs.gnu.org; Tue, 22 Dec 2015 12:14:58 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53850)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <basinilya@HIDDEN>) id 1aBKkM-0004dE-4Z
 for submit <at> debbugs.gnu.org; Tue, 22 Dec 2015 06:04:50 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <basinilya@HIDDEN>) id 1aBKkG-0002cl-6H
 for submit <at> debbugs.gnu.org; Tue, 22 Dec 2015 06:04:44 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54442)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <basinilya@HIDDEN>) id 1aBKkG-0002cg-3J
 for submit <at> debbugs.gnu.org; Tue, 22 Dec 2015 06:04:44 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44820)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <basinilya@HIDDEN>) id 1aBKkF-00022B-6T
 for bug-automake@HIDDEN; Tue, 22 Dec 2015 06:04:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <basinilya@HIDDEN>) id 1aBKkB-0002aG-ST
 for bug-automake@HIDDEN; Tue, 22 Dec 2015 06:04:43 -0500
Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:33204)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <basinilya@HIDDEN>) id 1aBKkB-0002ZC-Je
 for bug-automake@HIDDEN; Tue, 22 Dec 2015 06:04:39 -0500
Received: by mail-lb0-x22f.google.com with SMTP id sv6so22413191lbb.0
 for <bug-automake@HIDDEN>; Tue, 22 Dec 2015 03:04:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-type:content-transfer-encoding;
 bh=Zps9jM/iw9xv12S/RLUviznNNahue86LrKrXJDYChnk=;
 b=ADo94ZZMqQn/XaZ6VsZ7Yq19/vBnaZWvFcq7nNkaK0OMIhyASvb7hBM0ub+M3WjlX6
 iRcvsbIWXLk911zP6FsKCUQJm3KbGGF8OmGWi8zX/ty0x6TuNGwrz5ZMAGejpaDcCpk7
 kxt99lth2PNqD3KpYhbZfW+3nUw8MULv3XuZYZ8hcIqQRRbQXZybHCPsCU8kzMf70gO+
 haLBOPhvU/KQXO/2kM9VvSRe2ie6KA4KKFhHTQFhpzqVfWQTaojPRu0cYH1jhcghtXQX
 Y8l/Xpd3mb+qwmtWNMzbOec1mIJ2yHCj/m/9lTOSVHAiXwLNLMV2a/crWo2Cdq+4YNb8
 wKMA==
X-Received: by 10.112.199.194 with SMTP id jm2mr6409497lbc.109.1450782278460; 
 Tue, 22 Dec 2015 03:04:38 -0800 (PST)
Received: from [173.194.222.16] (gate.reksoft.ru. [188.64.144.36])
 by smtp.googlemail.com with ESMTPSA id q76sm1078787lfd.41.2015.12.22.03.04.37
 for <bug-automake@HIDDEN> (version=TLSv1/SSLv3 cipher=OTHER);
 Tue, 22 Dec 2015 03:04:37 -0800 (PST)
To: bug-automake@HIDDEN
From: Basin Ilya <basinilya@HIDDEN>
Subject: multiple '-local' targets in a rule
Message-ID: <56792E46.9020208@HIDDEN>
Date: Tue, 22 Dec 2015 14:04:38 +0300
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101
 Thunderbird/38.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 22 Dec 2015 12:14:56 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

If you define a supported `-local` target (e.g. `all-local`) in
`Makefile.am`, `automake` will supplement the standard target (e.g.
`all`) with it.

* https://www.gnu.org/software/automake/manual/html_node/Extending.html
*
https://www.gnu.org/software/automake/manual/html_node/Third_002dParty-Makefiles.html

But this only works, when creating separate rules for `-local` targets.
When listing multiple `-local` target in one rule, they are not applied.

good:

    all-local:
    	echo $@

    clean-local:
    	echo $@

resulting `Makefile`:

    all-am: Makefile all-local
    clean-am: clean-generic clean-libtool clean-local mostlyclean-am

bad:

    all-local clean-local:
    	echo $@

resulting `Makefile`:

    all-am: Makefile
    clean-am: clean-generic clean-libtool mostlyclean-am





Acknowledgement sent to Basin Ilya <basinilya@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#22223; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 8 Feb 2022 06:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.