[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] doc: chatter less
From: |
Paul Eggert |
Subject: |
[PATCH] doc: chatter less |
Date: |
Tue, 18 Jun 2013 14:19:33 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
---
ChangeLog | 5 +++++
doc/Makefile | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 09e36b0..0af59a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2013-06-18 Paul Eggert <address@hidden>
+ doc: chatter less
+ * doc/Makefile (NEWEST_GNULIB_TEXI_FILE): New macro.
+ (updated-stamp): Use it. This causes 'make' to output just
+ one file name rather than zillions.
+
fflush, fseeko: port to musl cross-compiles
* lib/fseeko.c (fseeko): Assume that fflushing stdin works if
on some implementation that (1) is not known to be buggy,
diff --git a/doc/Makefile b/doc/Makefile
index cdd9305..f64732f 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -55,10 +55,11 @@ INSTALL.UTF-8: INSTALL
sed -e "s/\`\([^']*\)'/‘\1’/g" $< > $@
GNULIB_TEXI_FILES = $(filter-out maintain.texi make-stds.texi
standards.texi,$(wildcard *.texi)) $(wildcard posix-headers/*.texi) $(wildcard
posix-functions/*.texi) $(wildcard glibc-headers/*.texi) $(wildcard
glibc-functions/*.texi)
+NEWEST_GNULIB_TEXI_FILE = $(shell ls -t $(GNULIB_TEXI_FILES) | sed 1q)
# Date of last update. Requires GNU date.
updated-stamp: $(GNULIB_TEXI_FILES)
- date -u -r `ls -t $^ | sed 1q` +"@set UPDATED %F %T" > $@
+ date -u -r $(NEWEST_GNULIB_TEXI_FILE) +"@set UPDATED %F %T" > $@
# Dependencies. Search for @include to find them all.
gnulib.info gnulib.html gnulib.dvi gnulib.pdf: $(GNULIB_TEXI_FILES)
updated-stamp
--
1.7.11.7
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] doc: chatter less,
Paul Eggert <=