From e774c5024bd719f12d01a11a9d1fd6cae5a0e899 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 25 Feb 2009 12:37:18 +0000 Subject: Version printed on website. --- Makefile | 6 ++++-- index.sgml | 6 +++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7cdb760c..93877035 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ .SUFFIXES: .html .sgml -VERSION = 1.3.3 +VERSION = "1.3.5" +VDATE = "25 February 2009" CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g @@ -268,4 +269,5 @@ mdoclint: $(LINTOBJS) libmdoc.a .sgml.html: validate $< - cp -f $< $@ + sed -e "s!@VERSION@!$(VERSION)!" -e "s!@VDATE@!$(VDATE)!" $< > $@ + diff --git a/index.sgml b/index.sgml index 14fc1815..544283f2 100644 --- a/index.sgml +++ b/index.sgml @@ -73,6 +73,10 @@ i386, AMD64 and Alpha.

+

+ The most current version is @VERSION@, dated @VDATE@. +

+

snapshotted source

@@ -136,7 +140,7 @@
- Copyright © 2009 Kristaps Džonsons, $Date: 2009/02/25 12:32:50 $ + Copyright © 2009 Kristaps Džonsons, $Date: 2009/02/25 12:37:18 $
-- cgit v1.2.3-56-ge451