commit 98e0b77a1a543252307dffb4a32abb2f852c8618
parent 4748b19e0903e0d62789a45a526c1e3e535d719c
Author: Hans Petter Selasky <[email protected]>
Date: Thu, 3 Oct 2019 20:14:15 +0200
Optionally install HISTORY.txt.
Signed-off-by: Hans Petter Selasky <[email protected]>
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -35,7 +35,12 @@ include(CTestConfig.cmake)
add_subdirectory(src)
add_subdirectory(doc) # Doxygen only
-install(FILES AUTHORS.txt COPYING HISTORY.txt README.adoc
+if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/HISTORY.txt")
+install(FILES HISTORY.txt
+ DESTINATION share/doc/zynaddsubfx
+ )
+endif()
+install(FILES AUTHORS.txt COPYING README.adoc
DESTINATION share/doc/zynaddsubfx
)
install(FILES zynaddsubfx-jack-multi.desktop zynaddsubfx-jack.desktop zynaddsubfx-alsa.desktop zynaddsubfx-oss.desktop