summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>2021-03-07 02:27:52 +0100
committergregor herrmann <gregoa@debian.org>2021-03-07 02:27:52 +0100
commitb999191974b3bfa2e0c184e809e3a5d7862e32f6 (patch)
treeaff92368cc31a746b3e1950cb8b15220c3d41c63
parent10fbecf3b8c31025d5f5c3fb41efc72a6d691255 (diff)
Fix inotify-hookable man page
Forwarded: not-needed Reviewed-by: gregor herrmann <gregoa@debian.org> Last-Update: 2016-04-29 Upstream delivers inotify-hookable real man page in App::Inotify::Hookable.3pm file. inotify-hookable.1p instructs people to check the other man page. This is not user-friendly, so Makefile.PL and Hooakble.pm are hacked the deliver the proper information to the executable man page Gbp-Pq: Name fix-man-page
-rw-r--r--Makefile.PL4
-rwxr-xr-xlib/App/Inotify/Hookable.pm2
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 4d549f7..b0a96e9 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -19,6 +19,10 @@ my %WriteMakefileArgs = (
"EXE_FILES" => [
"bin/inotify-hookable"
],
+ MAN1PODS => {
+ 'blib/lib/App/Inotify/Hookable.pm' => 'blib/man1/inotify-hookable.1p'
+ },
+ MAN3PODS => {},
"LICENSE" => "perl",
"NAME" => "App::Inotify::Hookable",
"PREREQ_PM" => {
diff --git a/lib/App/Inotify/Hookable.pm b/lib/App/Inotify/Hookable.pm
index e5f189a..25f62ec 100755
--- a/lib/App/Inotify/Hookable.pm
+++ b/lib/App/Inotify/Hookable.pm
@@ -471,7 +471,7 @@ __END__
=head1 NAME
-App::Inotify::Hookable - blocking command-line interface to inotify
+inotify-hookable - blocking command-line interface to inotify
=head1 SYNOPSIS