diff options
author | David Kalnischkies <david@kalnischkies.de> | 2022-04-19 13:06:44 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2022-05-07 10:45:44 +0200 |
commit | cd92098caa64b7fd30cdc6b5d56bf7e9e17a449e (patch) | |
tree | 10e772fda1e49ef65089e51f17f2a700f597eb2c /vendor/CMakeLists.txt | |
parent | 725fef5ebf45d03fea75866e9795717bf576d26a (diff) |
Avoid building all docs in nodoc build profile
Differentiating between different types of documentation we build helps
in better expressing what needs to be done for our arch:any and arch:all
packages currently as well.
Diffstat (limited to 'vendor/CMakeLists.txt')
-rw-r--r-- | vendor/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/CMakeLists.txt b/vendor/CMakeLists.txt index 8246c725a..f6d88690a 100644 --- a/vendor/CMakeLists.txt +++ b/vendor/CMakeLists.txt @@ -10,6 +10,7 @@ else() endif() # Handle sources.list example +if (WITH_DOC OR WITH_DOC_EXAMPLES) add_vendor_file(OUTPUT sources.list INPUT "${CURRENT_VENDOR}/sources.list.in" MODE 644 @@ -21,6 +22,7 @@ add_vendor_file(OUTPUT sources.list current-codename) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sources.list DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples) +endif() # Handle apt.conf snippets file(GLOB conffiles ${CURRENT_VENDOR}/apt.conf-*) |