]> git.ipfire.org Git - thirdparty/automake.git/commit
[ng] texi: be sure to only emit generic pattern rules once
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 15 Jun 2012 21:29:28 +0000 (23:29 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 17 Jun 2012 07:57:51 +0000 (09:57 +0200)
commited0f01904b332f0c64f26797eaeb82e5847cc963
treec6c7f40503e349fa51db6d76d581c90432d79ca8
parenta0c7b6a3c28aec6673b7c2f489dd3dfc676605ad
[ng] texi: be sure to only emit generic pattern rules once

* lib/am/texibuild.am: Only hold generic pattern rules now, the
stuff specific to single '.texi' files moved out ...
* lib/am/texi-spec.am: ... to this new file.
* Makefile.am (dist_am_DATA): Add it.
* automake.in (output_texinfo_build_rules): Process 'texi-spec.am'
rather than 'texbuild.am', and adjust transforms accordingly.
(handle_texinfo): Process 'texibuild.am', once for each valid Texinfo
extension (.texi, .txi, .texinfo).
* t/txinfo-rules-once.sh: New test.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Makefile.am
automake.in
lib/am/texi-spec.am [new file with mode: 0644]
lib/am/texibuild.am
t/txinfo-rules-once.sh [new file with mode: 0755]