| 1 |
# Distributed under the original FontForge BSD 3-clause license |
| 2 |
|
| 3 |
#[=======================================================================[.rst: |
| 4 |
GenerateDocsManifest |
| 5 |
-------------------- |
| 6 |
|
| 7 |
Generates the manifest of dependencies for the documentation. |
| 8 |
|
| 9 |
#]=======================================================================] |
| 10 |
|
| 11 |
file(GLOB_RECURSE _manifest_files RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" sphinx/*) |
| 12 |
list(FILTER _manifest_files EXCLUDE REGEX "(^.*\\.gitignore)|(^.*\\.py[co])") |
| 13 |
string(REGEX REPLACE ";" "\n" _manifest_files "${_manifest_files}") |
| 14 |
file(WRITE manifest.txt ${_manifest_files}) |