From f428b7bb2f78fd912aefa38b46e9a2fe047ed3e2 Mon Sep 17 00:00:00 2001
From: patrick96
Date: Mon, 24 Jan 2022 13:26:58 +0100
Subject: [PATCH] Install manpage for polybar-msg
---
CHANGELOG.md | 6 ++++--
doc/CMakeLists.txt | 4 ++++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 08627b21..8c250fa1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -150,8 +150,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added a new `tray-foreground` setting to give hints to tray icons about what
color they should be.
([#2235](https://github.com/polybar/polybar/issues/2235))
-- `polybar-msg`: For module actions, you can now also specify the module name,
- action name, and optional data as separate arguments.
+- `polybar-msg`:
+ - For module actions, you can now also specify the module name,
+ action name, and optional data as separate arguments.
+ - Added man page
### Changed
- Polybar now also reads `config.ini` when searching for config files.
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 26018a10..27d86b6d 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -66,6 +66,10 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/polybar.1
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
COMPONENT doc)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/polybar-msg.1
+ DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
+ COMPONENT doc)
+
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/man/polybar.5
DESTINATION ${CMAKE_INSTALL_MANDIR}/man5
COMPONENT doc)