fix man section
authorAndreas Beckmann <anbe@debian.org>
Thu, 8 Feb 2024 10:22:15 +0000 (10:22 +0000)
committerRaspbian forward porter <root@raspbian.org>
Thu, 8 Feb 2024 10:22:15 +0000 (10:22 +0000)
Forwarded: https://github.com/Bumblebee-Project/Bumblebee/pull/1071

Gbp-Pq: Name man-section.patch

Makefile.am

index 25e32d5f4ce9e9b889a5785776ee415e90e4e38f..db7f22a95c013c0999abfee92cc42261475a4bdf 100644 (file)
@@ -113,7 +113,7 @@ scripts/upstart/bumblebeed.conf: $(srcdir)/scripts/upstart/bumblebeed.conf.in
        $(do_subst) < $< > $@
 
 if HAVE_HELP2MAN
-man_MANS = bumblebeed.1 optirun.1
+man_MANS = bumblebeed.8 optirun.1
 CLEANFILES += $(man_MANS)
 
 optirun.1: bin/optirun $(bin_optirun_SOURCES)
@@ -121,9 +121,10 @@ optirun.1: bin/optirun $(bin_optirun_SOURCES)
                --name='run programs on the discrete video card' \
                bin/optirun
 
-bumblebeed.1: bin/bumblebeed $(bin_bumblebeed_SOURCES)
+bumblebeed.8: bin/bumblebeed $(bin_bumblebeed_SOURCES)
        $(HELP2MAN) --output=$@ --no-info \
                --name='bumblebee daemon' \
+               --section=8 \
                bin/bumblebeed
 else
        @echo "Warning: help2man not available, no man page is created."