aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-07-19 22:50:04 -0700
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-11-30 08:25:19 -0800
commita8c9e5d64d9a5a0382fccaa98220d22cbaf9b55f (patch)
treecfded8a49cfc5b7e52ab2615d24a74c5fa7b479e /vim
parent9cb3984eb0e0829d4f05b6116f6ae572bc44d21b (diff)
downloadpaludis-a8c9e5d64d9a5a0382fccaa98220d22cbaf9b55f.tar.gz
paludis-a8c9e5d64d9a5a0382fccaa98220d22cbaf9b55f.tar.xz
build: introduce cmake based build system
Diffstat (limited to 'vim')
-rw-r--r--vim/CMakeLists.txt4
-rw-r--r--vim/ftdetect/CMakeLists.txt10
-rw-r--r--vim/syntax/CMakeLists.txt18
3 files changed, 32 insertions, 0 deletions
diff --git a/vim/CMakeLists.txt b/vim/CMakeLists.txt
new file mode 100644
index 000000000..635ed0ed1
--- /dev/null
+++ b/vim/CMakeLists.txt
@@ -0,0 +1,4 @@
+
+add_subdirectory(ftdetect)
+add_subdirectory(syntax)
+
diff --git a/vim/ftdetect/CMakeLists.txt b/vim/ftdetect/CMakeLists.txt
new file mode 100644
index 000000000..c79b131a2
--- /dev/null
+++ b/vim/ftdetect/CMakeLists.txt
@@ -0,0 +1,10 @@
+
+if(ENABLE_VIM)
+ install(FILES
+ "${CMAKE_CURRENT_SOURCE_DIR}/paludis.vim"
+ DESTINATION
+ "${PALUDIS_VIM_INSTALL_DIR}/ftdetect"
+ COMPONENT
+ vim)
+endif()
+
diff --git a/vim/syntax/CMakeLists.txt b/vim/syntax/CMakeLists.txt
new file mode 100644
index 000000000..1dff1e8e4
--- /dev/null
+++ b/vim/syntax/CMakeLists.txt
@@ -0,0 +1,18 @@
+
+if(ENABLE_VIM)
+ install(FILES
+ "${CMAKE_CURRENT_SOURCE_DIR}/paludis-general-conf.vim"
+ "${CMAKE_CURRENT_SOURCE_DIR}/paludis-keywords-conf.vim"
+ "${CMAKE_CURRENT_SOURCE_DIR}/paludis-licenses-conf.vim"
+ "${CMAKE_CURRENT_SOURCE_DIR}/paludis-mirrors-conf.vim"
+ "${CMAKE_CURRENT_SOURCE_DIR}/paludis-output-conf.vim"
+ "${CMAKE_CURRENT_SOURCE_DIR}/paludis-package-mask-conf.vim"
+ "${CMAKE_CURRENT_SOURCE_DIR}/paludis-repositories-conf.vim"
+ "${CMAKE_CURRENT_SOURCE_DIR}/paludis-suggestions-conf.vim"
+ "${CMAKE_CURRENT_SOURCE_DIR}/paludis-use-conf.vim"
+ DESTINATION
+ "${PALUDIS_VIM_INSTALL_DIR}/syntax"
+ COMPONENT
+ vim)
+endif()
+