src/Makefile: Do not print the command when checking for POD ERRORS.
authorSebastian Harl <sh@tokkee.org>
Fri, 19 Dec 2008 16:16:35 +0000 (17:16 +0100)
committerSebastian Harl <sh@tokkee.org>
Fri, 19 Dec 2008 16:16:35 +0000 (17:16 +0100)
Else, the build output would include the word "error" in a cryptically looking
paragraph which might confuse users.

src/Makefile.am

index 47268f5..1b46b9b 100644 (file)
@@ -797,7 +797,7 @@ EXTRA_DIST += collectd-email.pod collectd-exec.pod collectd-nagios.pod \
 .pod.1:
        pod2man --release=$(VERSION) --center=$(PACKAGE) $< \
                >.pod2man.tmp 2>/dev/null && mv -f .pod2man.tmp $@ || true
-       if grep '\<POD ERRORS\>' $@ >/dev/null 2>&1; \
+       @if grep '\<POD ERRORS\>' $@ >/dev/null 2>&1; \
        then \
                echo "$@ has some POD errors!"; false; \
        fi
@@ -805,7 +805,7 @@ EXTRA_DIST += collectd-email.pod collectd-exec.pod collectd-nagios.pod \
 .pod.5:
        pod2man --section=5 --release=$(VERSION) --center=$(PACKAGE) $< \
                >.pod2man.tmp 2>/dev/null && mv -f .pod2man.tmp $@ || true
-       if grep '\<POD ERRORS\>' $@ >/dev/null 2>&1; \
+       @if grep '\<POD ERRORS\>' $@ >/dev/null 2>&1; \
        then \
                echo "$@ has some POD errors!"; false; \
        fi