summaryrefslogtreecommitdiffstats
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2008-10-08 12:50:13 +0000
committerAlasdair Kergon <agk@redhat.com>2008-10-08 12:50:13 +0000
commit5951ef331af40743f368401afc091467513e3a07 (patch)
tree99cf242f24fb629e50ecca8551ed10f9aaef18dd /make.tmpl.in
parent68f2de6d4ae2bccc596a97b020c253186110ed36 (diff)
downloadlvm2-5951ef331af40743f368401afc091467513e3a07.tar.gz
lvm2-5951ef331af40743f368401afc091467513e3a07.tar.xz
lvm2-5951ef331af40743f368401afc091467513e3a07.zip
Generate man pages from templates and include version. (romster)
Diffstat (limited to 'make.tmpl.in')
-rw-r--r--make.tmpl.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index b5b72474..88b7bfd4 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -26,6 +26,8 @@ MSGFMT = @MSGFMT@
LCOV = @LCOV@
GENHTML = @GENHTML@
LN_S = @LN_S@
+SED = @SED@
+
LIBS = @LIBS@
DEFS += @DEFS@
CFLAGS += @CFLAGS@
@@ -96,6 +98,8 @@ LDFLAGS += -L$(top_srcdir)/lib -L$(libdir)
STRIP=
#STRIP = -s
+LVM_VERSION := $(shell cat $(top_srcdir)/VERSION)
+
LIB_VERSION := $(shell cat $(top_srcdir)/VERSION | \
awk -F '.' '{printf "%s.%s",$$1,$$2}')