From: Tobias Brunner Date: Thu, 6 Feb 2014 17:03:23 +0000 (+0100) Subject: conf: Install config snippets in /usr/share/strongswan/templates/config too X-Git-Tag: 5.1.2rc1~7^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f535b3938d4b4bad98754f5a082d0da33ab9c66;p=thirdparty%2Fstrongswan.git conf: Install config snippets in /usr/share/strongswan/templates/config too --- diff --git a/conf/Makefile.am b/conf/Makefile.am index 2acea54cc5..e802299205 100644 --- a/conf/Makefile.am +++ b/conf/Makefile.am @@ -2,6 +2,10 @@ strongswanconfdir = `dirname $(strongswan_conf)` strongswanddir = $(strongswanconfdir)/strongswan.d charonconfdir = $(strongswanddir)/charon +# copy these files also to /usr/share +templatesdir = $(pkgdatadir)/templates/config +optionstemplatedir = $(templatesdir)/strongswan.d +pluginstemplatedir = $(templatesdir)/plugins options = \ options/charon.opt \ @@ -66,6 +70,9 @@ plugins_install_src = $(charon_plugins:%=plugins/%.conf) options_install_src = $(options:opt=conf) +templates_DATA = strongswan.conf +optionstemplate_DATA = $(options_install_src) +pluginstemplate_DATA = $(plugins_install_src) man_MANS = \ strongswan.conf.5