From 35ff8e31ea0ae36c3e29df470238917407acc58a Mon Sep 17 00:00:00 2001 From: gord-fig Date: Fri, 26 Jul 2002 05:23:17 +0000 Subject: [PATCH] Every checkin changes the tag, but this should do it. --- lustre/doc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/doc/Makefile.am b/lustre/doc/Makefile.am index 65df734..55ae2c6 100644 --- a/lustre/doc/Makefile.am +++ b/lustre/doc/Makefile.am @@ -23,7 +23,7 @@ all: $(DOCS) # update date and version in document date := $(shell date +%x) -tag := $(shell echo '$$Name: $$' | sed s/^\$$Na''me:? *\$$$$/HEAD/; 's/^\$$Na''me: \(.*\) \$$$$/\1/') +tag := $(shell echo '$$Name: $$' | sed -e 's/^\$$Na''me: *\$$$$/HEAD/; s/^\$$Na''me: \(.*\) \$$$$/\1/') addversion = sed -e 's|@T''AG@|$(tag)|g; s|@VER''SION@|$(VERSION)|g; s|@DA''TE@|$(date)|g' # Regenerate when the $(VERSION) or $Name: $ changes. -- 1.8.3.1