summaryrefslogtreecommitdiffstats
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
commitf1f56204ca1bca8af2b46fac9185ec54ec6d25ba (patch)
treedb3b5ba6d81220e6764661b7f33dfc25d2bc595f /Makefile
parent2cafdf2a4b325553b7a37c10f6abc2723984cfcb (diff)
downloadmandoc-f1f56204ca1bca8af2b46fac9185ec54ec6d25ba.tar.gz
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)!" $< > $@
+