automake: new option to print location of scripts and data files
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 19 Feb 2012 17:43:28 +0000 (18:43 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 21 Feb 2012 08:51:45 +0000 (09:51 +0100)
commit101216cad25855e236e29c73c7d8781c5a94f598
treeec8831a9eafb9aefe2ca3085b586b73f7655bb72
parent86deab4df2aabc9fb23125cff2dd68af7ef963b4
automake: new option to print location of scripts and data files

With this change, we add a new automake option '--print-libdir'
that prints (on stdout) the path of the directory containing the
Automake-provided scripts (e.g., 'missing' and 'install-sh') and
data files (e.g., INSTALL or texinfo.tex).

Suggestion by Nick Bowler.  See also automake bug#10473.

* automake.in (parse_arguments): Handle the new option.
(usage): Mention it.
* doc/automake.texi (automake Invocation): Document it.
* NEWS: Update.
* tests/print-dir.test: New test.
* tests/list-of-tests.mk: Add it.
NEWS
automake.in
doc/automake.texi
tests/list-of-tests.mk
tests/print-libdir.test [new file with mode: 0755]