Whamcloud - gitweb
Every checkin changes the tag, but this should do it.
authorgord-fig <gord-fig>
Fri, 26 Jul 2002 05:23:17 +0000 (05:23 +0000)
committergord-fig <gord-fig>
Fri, 26 Jul 2002 05:23:17 +0000 (05:23 +0000)
lustre/doc/Makefile.am

index 65df734..55ae2c6 100644 (file)
@@ -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.