summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-04-08 15:46:26 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2022-04-08 15:47:45 +0200
commita5724a3b4aba00a7ceebe8cefe3f589568cf50f2 (patch)
tree2d7e8853980a09d8f2dce2c67ac15a2c1ff24ab8
parent4d98f6f9c5fb29c624e469665e4fc349d4057914 (diff)
downloadlibxml2-a5724a3b4aba00a7ceebe8cefe3f589568cf50f2.tar.gz
cmake: Install documentation in CMAKE_INSTALL_DOCDIR
Sync with recent Autotools change.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 086952b4..4cd2db91 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -600,7 +600,7 @@ endif()
install(FILES doc/xml2-config.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT documentation)
install(FILES doc/xmlcatalog.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT documentation)
install(FILES doc/xmllint.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT documentation)
-install(DIRECTORY doc/ DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/libxml2 COMPONENT documentation
+install(DIRECTORY doc/ DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT documentation
PATTERN "Makefile.*" EXCLUDE
PATTERN "*.1" EXCLUDE
PATTERN "*.py" EXCLUDE