summaryrefslogtreecommitdiff
path: root/debian/patches/fix-man-page
blob: 4ee7b435dfa0413677f873c9b1d552a6f533bc10 (plain)
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
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 
Author: dod
--- a/lib/App/Inotify/Hookable.pm
+++ b/lib/App/Inotify/Hookable.pm
@@ -463,7 +463,7 @@
 
 =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
@@ -23,6 +23,10 @@
   "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" => {