summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-01-28 13:23:16 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-01-30 21:51:52 +0100
commitef20e28bf3b966bf4f0358099f38b70a30c12755 (patch)
treeab364b09f6c700344f6e98cd3c4e35315bf3f2f5 /lib
parent25d3adb1b25132d5051dd97dacc707d2f3375a90 (diff)
downloadautomake-ef20e28bf3b966bf4f0358099f38b70a30c12755.tar.gz
maintcheck: fix real and spurious warnings
* lib/Makefile.am (install-data-hook): Correctly quote $(DESTDIR) occurrences. * Makefile.am (install-exec-hook, uninstall-hook): Likewise. (autodiffs): Prefer '$(am__cd)' to plain 'cd', where warranted. * doc/Makefile.am ($(srcdir)/amhello-1.0.tar.gz): Likewise. Also, prefer using AC_SUBST'd $(abs_top_builddir) over obtaining it at runtime from $(top_builddir). * syntax-check.mk (sc_mkinstalldirs): Tweak to whitelist known harmless occurrences of the checked-against usages. (sc_no_for_variable_in_macro): Likewise. * tests/CheckListOfTests.am (maintainer-check-list-of-tests): Tweak to avoid spuriously triggering the 'sc_no_for_variable_in_macro' maintainer check. Prefer '$(am__cd)' to plain 'cd' when warranted.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 2e6445b44..a7c8295ce 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -51,8 +51,8 @@ EXTRA_DIST = gnupload gitlog-to-changelog
install-data-hook:
@$(POST_INSTALL)
@for prog in $(dist_script_DATA); do \
- echo " chmod +x $(DESTDIR)$(scriptdir)/$$prog"; \
- chmod +x $(DESTDIR)$(scriptdir)/$$prog; \
+ echo " chmod +x '$(DESTDIR)$(scriptdir)/$$prog'"; \
+ chmod +x "$(DESTDIR)$(scriptdir)/$$prog"; \
done
## `test -x' is not portable. So we use Perl instead. If Perl