]> granicus.if.org Git - libexpat/commitdiff
CMake: Mimic lib/Makefile.am with regard to doc installation
authorSebastian Pipping <sebastian@pipping.org>
Thu, 29 Aug 2019 21:19:44 +0000 (23:19 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Thu, 29 Aug 2019 23:19:14 +0000 (01:19 +0200)
expat/CMakeLists.txt

index 374f62558dca9f42057c2975263a26e53e92ede3..7bb4eea401d94beccc9b9723638b35aea3c900b5 100644 (file)
@@ -371,6 +371,17 @@ if(BUILD_fuzzers)
     endforeach()
 endif(BUILD_fuzzers)
 
+#
+# Documentation
+#
+configure_file(Changes changelog COPYONLY)
+expat_install(
+    FILES
+        AUTHORS
+        ${CMAKE_CURRENT_BINARY_DIR}/changelog
+    DESTINATION
+        ${CMAKE_INSTALL_DOCDIR})
+
 #
 # Summary
 #