From: Kristaps Dzonsons
Date: Wed, 25 Feb 2009 12:37:18 +0000 (+0000)
Subject: Version printed on website.
X-Git-Tag: VERSION_1_3_5~1
X-Git-Url: https://git.cameronkatri.com/mandoc.git/commitdiff_plain/e774c5024bd719f12d01a11a9d1fd6cae5a0e899?ds=sidebyside
Version printed on website.
---
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 @@
|