diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-02-19 18:43:28 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-02-21 09:51:45 +0100 |
commit | 101216cad25855e236e29c73c7d8781c5a94f598 (patch) | |
tree | ec8831a9eafb9aefe2ca3085b586b73f7655bb72 /doc | |
parent | 86deab4df2aabc9fb23125cff2dd68af7ef963b4 (diff) | |
download | automake-101216cad25855e236e29c73c7d8781c5a94f598.tar.gz |
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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/automake.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/automake.texi b/doc/automake.texi index ef094c0b4..f342686ee 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -2587,6 +2587,12 @@ for more information. Look for Automake data files in directory @var{dir} instead of in the installation directory. This is typically used for debugging. +@item --print-libdir +@opindex --print-libdir +Print the path of the installation directory containing Automake-provided +scripts and data files (like e.g., @file{texinfo.texi} and +@file{install-sh}). + @item -c @opindex -c @itemx --copy |