From f1f56204ca1bca8af2b46fac9185ec54ec6d25ba 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 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') 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)!" $< > $@ + -- cgit