X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2FMakefile;h=ce8882ce7b2b1494c84cb75ed6ed55586a0cf9ca;hb=dbf55f6694dbf710b44e3ae76a46fd8b8f993f7c;hp=cdd93054afef810666f885147a77b67b9eb31e73;hpb=9fc81090f6c5590bd1b0e0fa5087577a2ee43a3e;p=gnulib.git diff --git a/doc/Makefile b/doc/Makefile index cdd93054a..ce8882ce7 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -39,7 +39,7 @@ INSTALL_PRELUDE = echo '@firstparagraphindent insert' OMIT_TRAILING_EMPTY_LINES = /^$$/H; /^$$/d; x; s/\n//p; s/\n*//; x -# INSTALL file with old ASCII quotation marks (looks ugly on modern machines). +# INSTALL file with directed ASCII quotation marks. INSTALL: install.texi $(INSTALL_PRELUDE) | cat - $< > tmp.texi $(MAKEINFO) --plaintext --no-validate tmp.texi \ @@ -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