From 3ac93845fca6d30ab6d2b3ec39f847b403777e81 Mon Sep 17 00:00:00 2001
From: patrick96
Date: Thu, 7 Jan 2021 14:19:59 +0100
Subject: [PATCH] Install changelog file as part of the documentation
---
doc/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 9a023864..2ed77e6e 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -54,6 +54,10 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
COMPONENT doc
PATTERN ".buildinfo" EXCLUDE)
+install(FILES ${CMAKE_SOURCE_DIR}/CHANGELOG.md
+ DESTINATION ${CMAKE_INSTALL_DOCDIR}
+ COMPONENT doc)
+
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/polybar.1
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
COMPONENT doc)