libimcv: Install SQL files in /usr/share/strongswan/templates/database
authorTobias Brunner <tobias@strongswan.org>
Fri, 7 Feb 2014 16:48:16 +0000 (17:48 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 12 Feb 2014 13:08:34 +0000 (14:08 +0100)
src/libimcv/Android.mk
src/libimcv/Makefile.am

index ce13ea4..1e00c8a 100644 (file)
@@ -15,7 +15,6 @@ libimcv_la_SOURCES := \
        imv/imv_remediation_string.h imv/imv_remediation_string.c \
        imv/imv_session.h imv/imv_session.c \
        imv/imv_workitem.h imv/imv_workitem.c \
-       imv/tables.sql imv/data.sql \
        ietf/ietf_attr.h ietf/ietf_attr.c \
        ietf/ietf_attr_assess_result.h ietf/ietf_attr_assess_result.c \
        ietf/ietf_attr_attr_request.h ietf/ietf_attr_attr_request.c \
index 86f172d..96e7597 100644 (file)
@@ -24,7 +24,6 @@ libimcv_la_SOURCES = \
        imv/imv_remediation_string.h imv/imv_remediation_string.c \
        imv/imv_session.h imv/imv_session.c \
        imv/imv_workitem.h imv/imv_workitem.c \
-       imv/tables.sql imv/data.sql \
        ietf/ietf_attr.h ietf/ietf_attr.c \
        ietf/ietf_attr_assess_result.h ietf/ietf_attr_assess_result.c \
        ietf/ietf_attr_attr_request.h ietf/ietf_attr_attr_request.c \
@@ -53,6 +52,9 @@ libimcv_la_SOURCES = \
 ipsec_SCRIPTS = imv/_imv_policy
 EXTRA_DIST = imv/_imv_policy
 
+templatesdir = $(pkgdatadir)/templates/database/imv
+dist_templates_DATA = imv/tables.sql imv/data.sql
+
 ipsec_PROGRAMS = imv_policy_manager
 imv_policy_manager_SOURCES = \
        imv/imv_policy_manager.c \