From 7f535b3938d4b4bad98754f5a082d0da33ab9c66 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 6 Feb 2014 18:03:23 +0100 Subject: [PATCH] conf: Install config snippets in /usr/share/strongswan/templates/config too --- conf/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/conf/Makefile.am b/conf/Makefile.am index 2acea54cc..e80229920 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