diff options
author | Tobias Brunner <tobias@strongswan.org> | 2014-01-29 13:24:16 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-02-12 14:34:33 +0100 |
commit | 7f62b7d02dd227042c71d1ee281fefe81b56efbd (patch) | |
tree | 7b089cc50b13ee81abb33378357b1f055143ea73 /conf | |
parent | 91cc523ca78e73050c94ccc30cf9943419486d11 (diff) | |
download | strongswan-7f62b7d02dd227042c71d1ee281fefe81b56efbd.tar.bz2 strongswan-7f62b7d02dd227042c71d1ee281fefe81b56efbd.tar.xz |
conf: Generate groff snippet for configuration options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/conf/Makefile.am b/conf/Makefile.am index 80dffc025..5f88815a5 100644 --- a/conf/Makefile.am +++ b/conf/Makefile.am @@ -22,9 +22,9 @@ charonconf_DATA = $(plugins_install_src) man_MANS = \ strongswan.conf.5 -BUILT_SOURCES = default.conf $(confsnippets) +BUILT_SOURCES = default.conf strongswan.conf.5.main $(confsnippets) EXTRA_DIST = format-options.py strongswan.conf default.opt \ - default.conf $(alloptions) $(confsnippets) + default.conf strongswan.conf.5.main $(alloptions) $(confsnippets) CLEANFILES=$(man_MANS) @@ -54,6 +54,10 @@ $(plugins_install_tmp): -e "s:\@PLUGIN_NAME\@:`basename $< .tmp`:" \ $(srcdir)/$< > $(srcdir)/$@ +strongswan.conf.5.main: $(alloptions) + $(AM_V_GEN) \ + $(PYTHON) $(srcdir)/format-options.py -f man $^ > $@ + maintainer-clean-local: cd $(srcdir) && \ rm -f $(confsnippets) default.conf plugins/*.conf plugins/*.tmp |