From 0d6bf0e544a02c049c4626b87900819ec0a98d38 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 18 Nov 1999 20:56:29 +0000 Subject: When generating the top-level index to the documents, make sure some oddball things from the LaTeX get translated to rational values. This is mostly to keep things from looking broken in a development tree when they're not. --- Doc/html/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/html/Makefile b/Doc/html/Makefile index 05f9259..0fd1956 100644 --- a/Doc/html/Makefile +++ b/Doc/html/Makefile @@ -139,9 +139,11 @@ distclean realclean clobber: clean BOILERPLATE=$(TOPDIR)/texinputs/boilerplate.tex index.html: index.html.in $(BOILERPLATE) - REL=`grep '\\release{' $(BOILERPLATE) | sed 's/.*\\release{\(.*\)}.*$$/\1/'` ; \ + REL=`grep '\\release{' $(BOILERPLATE) | sed 's/.*\\release{\(.*\)}.*$$/\1/'`; \ + REL=`echo "$$REL" | sed 's/[$$]//g'`; \ sed "s/@RELEASE@/$$REL/g" $< >TEMP DATE=`grep '\\date{' $(BOILERPLATE) | sed 's/.*\\date{\(.*\)}.*$$/\1/'` ; \ + if [ "$$DATE" = '\today' ] ; then DATE=`date '+%B %e, %Y'`;fi;\ sed "s/@DATE@/$$DATE/g" TEMP >$@ rm -f TEMP -- cgit v0.12