From d30fd9b3808ad420c7916f704b445075a7ca516d Mon Sep 17 00:00:00 2001 From: Aaron Rainbolt Date: Fri, 5 Jan 2024 13:22:19 -0600 Subject: [PATCH] Automatically generate manpage with help2man --- debian/changelog | 1 + debian/control | 1 + debian/files | 1 - debian/picom-conf.manpages | 1 + debian/rules | 4 ++++ 5 files changed, 7 insertions(+), 1 deletion(-) delete mode 100644 debian/files create mode 100644 debian/picom-conf.manpages diff --git a/debian/changelog b/debian/changelog index 779d317..0cb783c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ picom-conf (0.17.0-0ubuntu1) noble; urgency=medium * Added debian/watch file. * Updated copyright file. * Removed no-manual-page Lintian override. + * Added help2man automatic manpage generation. -- Aaron Rainbolt Fri, 05 Jan 2024 17:28:28 +0000 diff --git a/debian/control b/debian/control index 522b40a..6a3f57d 100644 --- a/debian/control +++ b/debian/control @@ -6,6 +6,7 @@ Uploaders: Aaron Rainbolt Rules-Requires-Root: no Build-Depends: cmake (>= 3.15), debhelper-compat (= 13), + help2man, libconfig-dev, liblxqt1-dev, qtbase5-dev, diff --git a/debian/files b/debian/files deleted file mode 100644 index 100e7ae..0000000 --- a/debian/files +++ /dev/null @@ -1 +0,0 @@ -picom-conf_0.17.0~git20231210-0ubuntu1~ppa2_source.buildinfo x11 optional diff --git a/debian/picom-conf.manpages b/debian/picom-conf.manpages new file mode 100644 index 0000000..b9d777d --- /dev/null +++ b/debian/picom-conf.manpages @@ -0,0 +1 @@ +debian/picom-conf.1 diff --git a/debian/rules b/debian/rules index 393af14..3899741 100755 --- a/debian/rules +++ b/debian/rules @@ -5,3 +5,7 @@ override_dh_auto_configure: dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release + +override_dh_installman: + help2man -N "./debian/picom-conf/usr/bin/picom-conf -platform offscreen" > debian/picom-conf.1 + dh_installman