This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch main
in repository shepherd.

The following commit(s) were added to refs/heads/main by this push:
     new f955504  build: Improve man-page NAME whatis string for *.8.
f955504 is described below

commit f9555046bd2eb714a803a8f05c6a10cee91a0b0d
Author: Simon Josefsson <si...@josefsson.org>
AuthorDate: Thu Apr 17 11:13:14 2025 +0200

    build: Improve man-page NAME whatis string for *.8.
    
    * Makefile.am (%.8): Pass --include-opt.
    doc/halt.8.h2m: Add.
    doc/reboot.8.h2m: Add.
    Makefile.am (EXTRA_DIST): Add doc/*.h2m's.
    
    Signed-off-by: Ludovic Courtès <l...@gnu.org>
---
 Makefile.am      | 3 +++
 doc/halt.8.h2m   | 4 ++++
 doc/reboot.8.h2m | 4 ++++
 3 files changed, 11 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index a61b403..bdb1909 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -143,8 +143,11 @@ doc/herd.1: modules/shepherd/scripts/herd.scm configure.ac
 
 doc/%.8: modules/shepherd/scripts/%.scm configure.ac
        $(gen_man) --section=8 --output="$@"    \
+       --include=$(srcdir)/$@.h2m                      \
          "$(top_builddir)/`basename "$@" .8`"
 
+EXTRA_DIST += doc/halt.8.h2m doc/reboot.8.h2m
+
 dist_man1_MANS = doc/shepherd.1 doc/herd.1
 dist_man8_MANS = doc/halt.8 doc/reboot.8
 
diff --git a/doc/halt.8.h2m b/doc/halt.8.h2m
new file mode 100644
index 0000000..b6162d8
--- /dev/null
+++ b/doc/halt.8.h2m
@@ -0,0 +1,4 @@
+[NAME]
+halt \- tell Shepherd to stop services and turn off system
+[SEE ALSO]
+shepherd(1), herd(1), reboot(8)
diff --git a/doc/reboot.8.h2m b/doc/reboot.8.h2m
new file mode 100644
index 0000000..4480ba7
--- /dev/null
+++ b/doc/reboot.8.h2m
@@ -0,0 +1,4 @@
+[NAME]
+reboot \- tell Shepherd to stop services and reboot system
+[SEE ALSO]
+shepherd(1), herd(1), halt(8)

Reply via email to