File: fix-man-page

package info (click to toggle)
inotify-hookable 0.09-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 204 kB
  • sloc: perl: 394; makefile: 7
file content (37 lines) | stat: -rw-r--r-- 1,047 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Description: Fix inotify-hookable man page
 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 
Forwarded: not-needed
Author: dod
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2016-04-29

--- 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
 
--- 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" => {