maintcheck: fix real and spurious warnings
commitef20e28bf3b966bf4f0358099f38b70a30c12755
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 28 Jan 2012 12:23:16 +0000 (28 13:23 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 30 Jan 2012 20:51:52 +0000 (30 21:51 +0100)
treeab364b09f6c700344f6e98cd3c4e35315bf3f2f5
parent25d3adb1b25132d5051dd97dacc707d2f3375a90
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.
Makefile.am
doc/Makefile.am
lib/Makefile.am
syntax-checks.mk
tests/CheckListOfTests.am