distdir: avoid duplicate `find' traversal with subpackages.
commit553f13a39d6d340d47f2c6875dc6f69cf0376b59
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 3 May 2009 07:47:58 +0000 (3 09:47 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 3 May 2009 07:50:00 +0000 (3 09:50 +0200)
tree50f7c0df37e0130ed7e6d84189ee510519a6e4f0
parent9fe8259884e73d48c1962ba69cbb9aa59050b000
distdir: avoid duplicate `find' traversal with subpackages.

* lib/am/distdir.am (distdir) [%?SUBDIRS%]: When recursing, set
`am__skip_mode_fix'.
[%?TOPDIR_P%]: When `$(am__skip_mode_fix)' is set, avoid tree
walk.
* tests/subpkg4.test: New test, to ensure that we still walk the
whole tree while fixing permissions.  We don't ensure it is
walked once only.
* tests/Makefile.am: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
Makefile.in
lib/Automake/Makefile.in
lib/Makefile.in
lib/am/distdir.am
tests/Makefile.am
tests/Makefile.in
tests/subpkg4.test [new file with mode: 0755]