aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-25 12:37:18 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-25 12:37:18 +0000
commite774c5024bd719f12d01a11a9d1fd6cae5a0e899 (patch)
tree4677cb8a3eb8e1787d94a930921ff93d6b78bd17
parent0ed26b313243fe8d50014289e52f043f61782286 (diff)
downloadmandoc-e774c5024bd719f12d01a11a9d1fd6cae5a0e899.tar.gz
mandoc-e774c5024bd719f12d01a11a9d1fd6cae5a0e899.tar.zst
mandoc-e774c5024bd719f12d01a11a9d1fd6cae5a0e899.zip
Version printed on website.
-rw-r--r--Makefile6
-rw-r--r--index.sgml6
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.
</p>
+ <p>
+ The most current version is <b>@VERSION@</b>, dated <b>@VDATE@</b>.
+ </p>
+
<h2>
snapshotted source
</h2>
@@ -136,7 +140,7 @@
<tr>
<td>
<div class="foot">
- Copyright &#169; 2009 Kristaps D&#382;onsons, $Date: 2009/02/25 12:32:50 $
+ Copyright &#169; 2009 Kristaps D&#382;onsons, $Date: 2009/02/25 12:37:18 $
</div>
</td>
</tr>