mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
cmake: Remove non needed files in docs dir
Don't install files that are used to generate the documentation
This commit is contained in:
parent
e59aa6cab4
commit
f2987a295f
@ -597,7 +597,13 @@ endif()
|
|||||||
install(FILES doc/xml2-config.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT documentation)
|
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/xmlcatalog.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT documentation)
|
||||||
install(FILES doc/xmllint.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 PATTERN Makefile.* EXCLUDE)
|
install(DIRECTORY doc/ DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/libxml2 COMPONENT documentation
|
||||||
|
PATTERN "Makefile.*" EXCLUDE
|
||||||
|
PATTERN "*.xsl" EXCLUDE
|
||||||
|
PATTERN "*.py" EXCLUDE
|
||||||
|
PATTERN "*.xml" EXCLUDE
|
||||||
|
PATTERN "examples/*" EXCLUDE)
|
||||||
|
install(DIRECTORY doc/examples/ DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/libxml2/examples COMPONENT documentation PATTERN "Makefile.*" EXCLUDE)
|
||||||
|
|
||||||
configure_package_config_file(
|
configure_package_config_file(
|
||||||
libxml2-config.cmake.cmake.in libxml2-config.cmake
|
libxml2-config.cmake.cmake.in libxml2-config.cmake
|
||||||
|
Loading…
x
Reference in New Issue
Block a user