From: Tobias Brunner Date: Wed, 29 Jan 2014 12:24:16 +0000 (+0100) Subject: conf: Generate groff snippet for configuration options X-Git-Tag: 5.1.2rc1~7^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f62b7d02dd227042c71d1ee281fefe81b56efbd;p=thirdparty%2Fstrongswan.git conf: Generate groff snippet for configuration options --- diff --git a/conf/Makefile.am b/conf/Makefile.am index 80dffc0259..5f88815a5b 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