build: use 'check-local' to extend the 'check' target
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 29 Aug 2012 12:15:42 +0000 (14:15 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 30 Aug 2012 13:21:59 +0000 (15:21 +0200)
* doc/Makefile.am (check-local): Here, by making this depend
on 'check-texinfo' ...
(check): ... rather than this.  While the old usage worked, it
did so for an implementation detail rather than a documented
behaviour, so relying on that was riskier a "unclean".

doc/Makefile.am

index 4e5150f..121c7cc 100644 (file)
@@ -126,4 +126,4 @@ sc-lower-case-var:
        $(AM_V_GEN)$(PERL) -e 1 || { echo $@: skipping test; exit 0; }; \
          $(PERL) -lne $(find_upper_case_var) $(doc_srcdir)/*.texi
 
-check: check-texinfo
+check-local: check-texinfo