--- CMakeLists.txt.orig	2020-05-12 09:31:45 UTC
+++ CMakeLists.txt
@@ -507,7 +507,7 @@ else()
     DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
   )
   install(DIRECTORY "${PROJECT_SOURCE_DIR}/etc/"
-    DESTINATION "${CMAKE_INSTALL_DOCDIR}/examples"
+    DESTINATION "${CMAKE_INSTALL_PREFIX}/share/examples/uncrustify"
     FILES_MATCHING PATTERN "*.cfg"
   )
 endif()
