bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22223: multiple '-local' targets in a rule


From: Basin Ilya
Subject: bug#22223: multiple '-local' targets in a rule
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

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]