]> sourceware.org Git - automake.git/commit
Handle multiple suffix rules with the same input extension.
authorAlexandre Duret-Lutz <adl@gnu.org>
Mon, 1 Jul 2002 16:10:34 +0000 (16:10 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Mon, 1 Jul 2002 16:10:34 +0000 (16:10 +0000)
commit89913775e44b52cf0630208dca43b3d984e50ab3
treefb72f09fb48ac321e7618893eb3f9053a9ebf8fe
parent54c6d7201cd245196955726c0b9fb30d86b8437f
Handle multiple suffix rules with the same input extension.
For PR automake/37.

* automake.in (suffix_rules_default): New variable.
(suffix_rules): Redefine as a hash of hashes of pairs.
(initialize_per_input): Setup suffix_rules_default from
suffix_rules on first call, an override suffix_rules
with suffix_rules_default on following calls.
(struct) <output_extensions>: New attribute.
(register_language): Set the default for output_extensions.
Call register_suffix_rule for each suffix.
(derive_suffix, handle_languages): Adjust to the new definition
of $suffix.
(register_suffix_rule): New function.
(rule_define): Call register_suffix_rule.
* tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
New files.
* tests/Makefile.am (TESTS): Add them.
ChangeLog
automake.in
tests/Makefile.am
tests/Makefile.in
tests/suffix10.test [new file with mode: 0755]
tests/suffix8.test [new file with mode: 0755]
tests/suffix9.test [new file with mode: 0755]
This page took 0.028993 seconds and 5 git commands to generate.