Fix multi-file installation for files in srcdir.
commit92a09f69728ee6db2438add8835ee683e921c9e3
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 6 Sep 2008 21:40:34 +0000 (6 23:40 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 6 Sep 2008 21:43:48 +0000 (6 23:43 +0200)
tree10857bade71e34e3f14def51e1346f993f2727ff
parent20594c08f633aaee1df952242ea78553037758b9
Fix multi-file installation for files in srcdir.

For files that can live in the build tree or the source tree,
we have to expect that prepending `$(srcdir)/' to each name
will let the install command line exceed length limitations.
Thus use a new macro, $(am__base_list), to install in chunks
of 40 files, similar to what we do for nobase_* files.  There,
lower the limit to 40, too.

* lib/am/inst-vars.am (am__install_max): Lower to 40.
(am__base_list): New macro.
* lib/am/data.am (install-%DIR%%PRIMARY%) [%?BASE%]: Use it.
* lib/am/texinfos.am (install-dvi-am, install-html-am)
(install-info-am, install-pdf-am, install-ps-am): Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
doc/Makefile.in
lib/Automake/Makefile.in
lib/Makefile.in
lib/am/Makefile.in
lib/am/data.am
lib/am/inst-vars.am
lib/am/texinfos.am
m4/Makefile.in