swanctl: Generate swanctl.conf(5) man page

This commit is contained in:
Tobias Brunner 2014-04-17 19:23:48 +02:00 committed by Martin Willi
parent 6a461f0852
commit b18191ba0f
5 changed files with 36 additions and 0 deletions

View File

@ -1639,6 +1639,8 @@ AC_CONFIG_FILES([
src/pki/man/pki---signcrl.1
src/pki/man/pki---acert.1
src/pki/man/pki---verify.1
src/swanctl/swanctl.conf.5.head
src/swanctl/swanctl.conf.5.tail
])
AC_OUTPUT

View File

@ -1,2 +1,6 @@
swanctl
swanctl.conf
swanctl.conf.5
swanctl.conf.5.main
swanctl.conf.5.head
swanctl.conf.5.tail

View File

@ -29,8 +29,12 @@ AM_CPPFLAGS = \
-DSWANCTLDIR=\""${swanctldir}\"" \
-DPLUGINS=\""${s_plugins}\""
man_MANS = \
swanctl.conf.5
BUILT_SOURCES = swanctl.conf swanctl.conf.5.main
EXTRA_DIST = swanctl.opt swanctl.conf swanctl.conf.5.main
CLEANFILES = $(man_MANS)
.opt.conf:
$(AM_V_GEN) \
@ -40,6 +44,10 @@ swanctl.conf.5.main: swanctl.opt
$(AM_V_GEN) \
$(PYTHON) $(top_srcdir)/conf/format-options.py -f man $< > $(srcdir)/$@
swanctl.conf.5: swanctl.conf.5.head swanctl.conf.5.main swanctl.conf.5.tail
$(AM_V_GEN) \
cat swanctl.conf.5.head $(srcdir)/swanctl.conf.5.main swanctl.conf.5.tail > $@
maintainer-clean-local:
cd $(srcdir) && rm -f swanctl.conf swanctl.conf.5.main

View File

@ -0,0 +1,12 @@
.TH SWANCTL.CONF 5 "" "@PACKAGE_VERSION@" "strongSwan"
.SH NAME
swanctl.conf \- swanctl configuration file
.SH DESCRIPTION
Bla bla
For a description of the syntax refer to
.BR strongswan.conf (5).
.SH SETTINGS
The following settings can be used to configure IKE and CHILD SAs and
credentials.

View File

@ -0,0 +1,10 @@
.SH FILES
.
.nf
.na
/etc/swanctl/swanctl.conf configuration file
.ad
.fi
.
.SH SEE ALSO
.BR swanctl (8)