doc: Fix use of $(AM_V_at).
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 6 Mar 2015 04:43:31 +0000 (20:43 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 6 Mar 2015 04:43:31 +0000 (20:43 -0800)
It has to come at the beginning of the command since it expands to
@ and only "make" (not the shell) understands that.

doc/automake.mk

index 2c6ec860e1266914e74220147987f4e570d280c3..9844d335d493a709da9afab404ae35f96ab4df27 100644 (file)
@@ -81,8 +81,8 @@ $(srcdir)/doc/pspp.xml: doc/pspp.texi $(doc_pspp_TEXINFOS) doc/help-pages-list
         | $(AWK) '/<para>.*<table.*>.*<\/para>/{x=sub("</para>",""); print; s=1;next}/<\/table>/{print; if (s==1) print "</para>"; s=0; next}1' \
        > $@,tmp
        $(AM_V_at)$(XMLLINT) --output /dev/null $@,tmp
-       cat doc/help-pages-list | while read node ; do \
-        $(AM_V_at)$(XMLLINT) --xpath "$$node" $@,tmp > /dev/null; \
+       $(AM_V_at)cat doc/help-pages-list | while read node ; do \
+        $(XMLLINT) --xpath "$$node" $@,tmp > /dev/null; \
         if test $$? -ne 0 ; then  echo "$$node does not appear in $@" ; exit 1; fi ; \
         done 
        mv $@,tmp $@