--- CMakeLists.txt.orig	2024-02-28 16:26:45 UTC
+++ CMakeLists.txt
@@ -183,8 +183,8 @@ install(TARGETS board-dynamic DESTINATION lib)
 install(DIRECTORY include/board/ DESTINATION include/board FILES_MATCHING PATTERN "*.h")
 install(TARGETS board DESTINATION lib)
 install(TARGETS board-dynamic DESTINATION lib)
-install(DIRECTORY examples/ DESTINATION share/libboard/examples FILES_MATCHING PATTERN "*.cpp")
-install(FILES README.md LICENSE AUTHORS DESTINATION share/libboard )
+install(DIRECTORY examples/ DESTINATION share/examples/libboard FILES_MATCHING PATTERN "*.cpp")
+install(FILES README.md LICENSE AUTHORS DESTINATION share/doc/libboard )
 
 FILE(GLOB EXAMPLES examples/*.cpp)
 
@@ -203,5 +203,6 @@ FOREACH( EXAMPLE_SRC_PATH ${EXAMPLES} )
    ${EXAMPLE_EXE}
    ${ImageMagick_LIBRARIES}
   )
+  SET_TARGET_PROPERTIES(${EXAMPLE_EXE} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/examples-bin")
   SET_TARGET_PROPERTIES(${EXAMPLE_EXE} PROPERTIES DEBUG_POSTFIX _d)
 ENDFOREACH(EXAMPLE_SRC_PATH)
