summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
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 /Makefile
parent0ed26b313243fe8d50014289e52f043f61782286 (diff)
downloadmandoc-e774c5024bd719f12d01a11a9d1fd6cae5a0e899.tar.gz
mandoc-e774c5024bd719f12d01a11a9d1fd6cae5a0e899.tar.zst
mandoc-e774c5024bd719f12d01a11a9d1fd6cae5a0e899.zip
Version printed on website.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 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)!" $< > $@
+