summaryrefslogtreecommitdiffstats
path: root/confskel/openldap
diff options
context:
space:
mode:
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
+)