Browse Source

CMake+Doc: Add configuration file example

master
Riyyi 3 years ago
parent
commit
d1b2608e8f
  1. 5
      doc/CMakeLists.txt
  2. 14
      doc/manafiles.json

5
doc/CMakeLists.txt

@ -18,3 +18,8 @@ install(
FILES ${CMAKE_BINARY_DIR}/manafiles.1.gz
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
CONFIGURATIONS Release)
install(
FILES ${CMAKE_CURRENT_LIST_DIR}/manafiles.json
DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples
CONFIGURATIONS Release)

14
doc/manafiles.json

@ -0,0 +1,14 @@
{
"excludePaths" : {
".git": "directory",
".md": "endsWith",
"packages": "file",
"README.org": "endsWith",
"screenshot.png": "file"
},
"systemDirectories": [
"/boot",
"/etc",
"/usr/share"
]
}
Loading…
Cancel
Save