conf: Generate groff snippet for configuration options
This commit is contained in:
+6
-2
@@ -22,9 +22,9 @@ charonconf_DATA = $(plugins_install_src)
|
|||||||
man_MANS = \
|
man_MANS = \
|
||||||
strongswan.conf.5
|
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 \
|
EXTRA_DIST = format-options.py strongswan.conf default.opt \
|
||||||
default.conf $(alloptions) $(confsnippets)
|
default.conf strongswan.conf.5.main $(alloptions) $(confsnippets)
|
||||||
|
|
||||||
CLEANFILES=$(man_MANS)
|
CLEANFILES=$(man_MANS)
|
||||||
|
|
||||||
@@ -54,6 +54,10 @@ $(plugins_install_tmp):
|
|||||||
-e "s:\@PLUGIN_NAME\@:`basename $< .tmp`:" \
|
-e "s:\@PLUGIN_NAME\@:`basename $< .tmp`:" \
|
||||||
$(srcdir)/$< > $(srcdir)/$@
|
$(srcdir)/$< > $(srcdir)/$@
|
||||||
|
|
||||||
|
strongswan.conf.5.main: $(alloptions)
|
||||||
|
$(AM_V_GEN) \
|
||||||
|
$(PYTHON) $(srcdir)/format-options.py -f man $^ > $@
|
||||||
|
|
||||||
maintainer-clean-local:
|
maintainer-clean-local:
|
||||||
cd $(srcdir) && \
|
cd $(srcdir) && \
|
||||||
rm -f $(confsnippets) default.conf plugins/*.conf plugins/*.tmp
|
rm -f $(confsnippets) default.conf plugins/*.conf plugins/*.tmp
|
||||||
|
|||||||
Reference in New Issue
Block a user