install: shell parameter expansions can be used in directory names
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 12 Apr 2012 16:24:23 +0000 (16:24 +0000)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 13 Apr 2012 10:48:27 +0000 (12:48 +0200)
commit0bb6076152c98c9794434d81e746073bbb7305ad
tree68d1ffe1fbd897d430a8f998a9fb5fb5cadbcec9
parent368f1c4c295e3cc4c442af986a1cbb0daa16e3ad
install: shell parameter expansions can be used in directory names

Fixes automake bug#11232.

GNU automake used to support shell parameter expansion and command
substitutions in installation directories, but that was inadvertently
broken by commit v1.11-759-g368f1c4 "install: don't create empty dirs
when an empty 'foo_PRIMARY' is used" of 18-03-2012, where shell quoting
of generated MKDIR_P command was changed from double to single quotes
in 3 places, while some 21 other places still use double quotes for
generated MKDIR_P commands.

* lib/am/data.am: Use double quotes for generated "mkdir -p" commands.
* lib/am/libs.am: Likewise.
* lib/am/ltlib.am: Likewise.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/data.am
lib/am/libs.am
lib/am/ltlib.am