summaryrefslogtreecommitdiffstats
path: root/confskel/openldap
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-04-03 18:19:30 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-04-07 20:39:07 +0200
commit961f36bb7b23ba3ff6606743ade216f7f56c33da (patch)
tree2225ef2e46a2878d29d160e51559fc655cd89659 /confskel/openldap
parentef47d91dd30f750fffb2d1c08f24f848d0bb26b4 (diff)
downloadkcmldapcontroller-961f36bb7b23ba3ff6606743ade216f7f56c33da.tar.gz
kcmldapcontroller-961f36bb7b23ba3ff6606743ade216f7f56c33da.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit 307a1a53261669dc8d1d2ee031a8927f64ddb27a)
Diffstat (limited to 'confskel/openldap')
-rw-r--r--confskel/openldap/CMakeLists.txt7
-rw-r--r--confskel/openldap/ldap/CMakeLists.txt7
-rw-r--r--confskel/openldap/ldif/CMakeLists.txt6
3 files changed, 20 insertions, 0 deletions
diff --git a/confskel/openldap/CMakeLists.txt b/confskel/openldap/CMakeLists.txt
new file mode 100644
index 0000000..a6077a8
--- /dev/null
+++ b/confskel/openldap/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_subdirectory( ldap )
+add_subdirectory( ldif )
+
+install(
+ FILES skel.ldif
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/skel/openldap
+)
diff --git a/confskel/openldap/ldap/CMakeLists.txt b/confskel/openldap/ldap/CMakeLists.txt
new file mode 100644
index 0000000..c3a5422
--- /dev/null
+++ b/confskel/openldap/ldap/CMakeLists.txt
@@ -0,0 +1,7 @@
+install(
+ FILES
+ slapd.conf
+ slapd.defaults
+
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/skel/openldap/ldap
+)
diff --git a/confskel/openldap/ldif/CMakeLists.txt b/confskel/openldap/ldif/CMakeLists.txt
new file mode 100644
index 0000000..c7d84fa
--- /dev/null
+++ b/confskel/openldap/ldif/CMakeLists.txt
@@ -0,0 +1,6 @@
+file( GLOB _ldifs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.ldif )
+
+install(
+ FILES ${_ldifs}
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/skel/openldap/ldif
+)