From: gord-fig Date: Fri, 26 Jul 2002 05:23:17 +0000 (+0000) Subject: Every checkin changes the tag, but this should do it. X-Git-Tag: 0.5.3~61 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=35ff8e31ea0ae36c3e29df470238917407acc58a;p=fs%2Flustre-release.git Every checkin changes the tag, but this should do it. --- 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.