Adding the version number to the most relevant manual pages.

This commit is contained in:
Tobias Brunner
2010-05-30 13:03:04 +02:00
parent 1d3a48b559
commit 8f76653a4c
6 changed files with 23 additions and 6 deletions
+7 -2
View File
@@ -1,7 +1,12 @@
sbin_SCRIPTS = ipsec
CLEANFILES = ipsec
CLEANFILES = ipsec ipsec.8
dist_man8_MANS = ipsec.8
EXTRA_DIST = ipsec.in
EXTRA_DIST = ipsec.in ipsec.8.in
ipsec.8 : ipsec.8.in
sed \
-e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
$(srcdir)/$@.in > $@
ipsec : ipsec.in
sed \
+1 -1
View File
@@ -1,4 +1,4 @@
.TH IPSEC 8 "2010-05-30"
.TH IPSEC 8 "2010-05-30" "@IPSEC_VERSION@" "strongSwan"
.SH NAME
ipsec \- invoke IPsec utilities
.SH SYNOPSIS
+6
View File
@@ -89,7 +89,9 @@ _pluto_adns_LDADD = \
$(LIBFREESWANDIR)/libfreeswan.a \
-lresolv $(DLLIB)
CLEANFILES = ipsec.secrets.5
dist_man_MANS = pluto.8 ipsec.secrets.5
EXTRA_DIST = ipsec.secrets.5.in
# compile options
#################
@@ -136,4 +138,8 @@ if USE_XAUTH
SUBDIRS += plugins/xauth
endif
ipsec.secrets.5 : ipsec.secrets.5.in
sed \
-e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
$(srcdir)/$@.in > $@
@@ -1,4 +1,4 @@
.TH IPSEC.SECRETS 5 "2010-05-30"
.TH IPSEC.SECRETS 5 "2010-05-30" "@IPSEC_VERSION@" "strongSwan"
.SH NAME
ipsec.secrets \- secrets for IKE/IPsec authentication
.SH DESCRIPTION
+7 -1
View File
@@ -23,8 +23,9 @@ AM_CFLAGS = \
-DDEBUG
starter_LDADD = defs.o $(top_builddir)/src/libfreeswan/libfreeswan.a $(top_builddir)/src/libstrongswan/libstrongswan.la $(SOCKLIB)
EXTRA_DIST = parser.l parser.y keywords.txt ipsec.conf
EXTRA_DIST = parser.l parser.y keywords.txt ipsec.conf ipsec.conf.5.in
dist_man_MANS = ipsec.conf.5 starter.8
CLEANFILES = ipsec.conf.5
MAINTAINERCLEANFILES = lex.yy.c y.tab.c y.tab.h keywords.c
PLUTODIR=$(top_srcdir)/src/pluto
@@ -38,6 +39,11 @@ if USE_CHARON
AM_CFLAGS += -DSTART_CHARON
endif
ipsec.conf.5: ipsec.conf.5.in
sed \
-e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
$(srcdir)/$@.in > $@
lex.yy.c: $(srcdir)/parser.l $(srcdir)/parser.y $(srcdir)/parser.h y.tab.h
$(LEX) $(srcdir)/parser.l
@@ -1,4 +1,4 @@
.TH IPSEC.CONF 5 "2010-05-30"
.TH IPSEC.CONF 5 "2010-05-30" "@IPSEC_VERSION@" "strongSwan"
.SH NAME
ipsec.conf \- IPsec configuration and connections
.SH DESCRIPTION