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

Previous Next

Package: automake;

Reported by: Basin Ilya <basinilya <at> gmail.com>

Date: Tue, 22 Dec 2015 17:15:02 UTC

Severity: wishlist

Tags: confirmed

Full log


View this message in rfc822 format

From: Basin Ilya <basinilya <at> gmail.com>
To: 22223 <at> debbugs.gnu.org
Subject: bug#22223: multiple '-local' targets in a rule
Date: Tue, 22 Dec 2015 14:04:38 +0300
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





This bug report was last modified 3 years and 128 days ago.

Previous Next


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