[libxml2] cmake: Remove more unnecessary files installed in docs dir



commit 4d98f6f9c5fb29c624e469665e4fc349d4057914
Author: Daniel E <daniel engberg lists pyret net>
Date:   Fri Apr 8 12:11:39 2022 +0000

    cmake: Remove more unnecessary files installed in docs dir
    
    Sync with commit 95766541622b3a66c929e2e272b0252750d0174d
    Don't install man pages in docs directory, these are already installed
    in the correct path and while at it sort list

 CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 075d5cde..086952b4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -602,11 +602,11 @@ install(FILES doc/xmlcatalog.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONEN
 install(FILES doc/xmllint.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT documentation)
 install(DIRECTORY doc/ DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/libxml2 COMPONENT documentation
        PATTERN "Makefile.*" EXCLUDE
-       PATTERN "*.xsl" EXCLUDE
+       PATTERN "*.1" EXCLUDE
        PATTERN "*.py" EXCLUDE
+       PATTERN "*.res" EXCLUDE
        PATTERN "*.xml" EXCLUDE
-       PATTERN "examples/*" EXCLUDE)
-install(DIRECTORY doc/examples/ DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/libxml2/examples COMPONENT 
documentation PATTERN "Makefile.*" EXCLUDE)
+       PATTERN "*.xsl" EXCLUDE)
 
 configure_package_config_file(
        libxml2-config.cmake.cmake.in libxml2-config.cmake


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]