]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: quiet "make" in doc/
authorJim Meyering <meyering@redhat.com>
Tue, 29 Dec 2009 13:31:56 +0000 (14:31 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 29 Dec 2009 13:31:56 +0000 (14:31 +0100)
* doc/Makefile.am (constants.texi): Add a use of AM_V_GEN.

doc/Makefile.am

index 224bcd8fc55962c3fdd03c3aa2a6dc07138739bd..c151333cd1d1f20eeb7b9bdaa9587ea59d44f65d 100644 (file)
@@ -30,13 +30,12 @@ EXTRA_DIST = perm.texi getdate.texi constants.texi fdl.texi
 AM_MAKEINFOFLAGS = --no-split
 
 constants.texi: $(top_srcdir)/src/tail.c $(top_srcdir)/src/shred.c
-       LC_ALL=C \
-       sed -n -e 's/^#define \(DEFAULT_MAX[_A-Z]*\) \(.*\)/@set \1 \2/p' \
-         $(top_srcdir)/src/tail.c > t-$@
-       LC_ALL=C \
-       sed -n -e 's/.*\(DEFAULT_PASSES\)[ =]* \([0-9]*\).*/@set SHRED_\1 \2/p'\
-         $(top_srcdir)/src/shred.c >> t-$@
-       mv t-$@ $@
+       $(AM_V_GEN)LC_ALL=C; export LC_ALL; \
+       { sed -n -e 's/^#define \(DEFAULT_MAX[_A-Z]*\) \(.*\)/@set \1 \2/p' \
+           $(top_srcdir)/src/tail.c && \
+         sed -n -e 's/.*\(DEFAULT_PASSES\)[ =]* \([0-9]*\).*/@set SHRED_\1 \2/p'\
+           $(top_srcdir)/src/shred.c; } > t-$@ \
+         && mv t-$@ $@
 
 MAINTAINERCLEANFILES = constants.texi