]> git.cameronkatri.com Git - mandoc.git/commitdiff
Version printed on website.
authorKristaps Dzonsons <kristaps@bsd.lv>
Wed, 25 Feb 2009 12:37:18 +0000 (12:37 +0000)
committerKristaps Dzonsons <kristaps@bsd.lv>
Wed, 25 Feb 2009 12:37:18 +0000 (12:37 +0000)
Makefile
index.sgml

index 7cdb760c0bcf3ce155f847e9845c2b058441c6b0..93877035ae164eccd0e77ffa881a90304b98e8cb 100644 (file)
--- 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)!" $< > $@
+
index 14fc18153c063348521dc7bf5d3ccad3669a1c2b..544283f2ca0990e91dc84faceec47ea2a1904943 100644 (file)
                                        i386, AMD64 and Alpha.
                                        </p>
 
+                                       <p>
+                                       The most current version is <b>@VERSION@</b>, dated <b>@VDATE@</b>.
+                                       </p>
+
                                        <h2>
                                        snapshotted source
                                        </h2>
                        <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>