File: 11_makefile_pl_debian_changes.diff

package info (click to toggle)
xmltv 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,396 kB
  • sloc: perl: 37,189; xml: 5,017; sh: 153; makefile: 18
file content (21 lines) | stat: -rw-r--r-- 725 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Debian-specific changes to Makefile.PL
 Altered suffixes for manpages for Debian Perl Policy
Forwarded: not-needed
Author: Chris Butler <chrisb@debian.org>
Reviewed-by: Nick Morrott <knowledgejunkie@gmail.com>
Last-Update: 2023-02-24

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -78,7 +78,10 @@
      # MakeMaker versions.
      INSTALLMAN1DIR  => "$location/share/man/man1",
      INSTALLMAN3DIR  => "$location/share/man/man3",
-     MAN3EXT         => '3',
+
+     # For Debian, the scripts will get .1p and the module will get .3pm.
+     MAN1EXT         => '1p',
+     MAN3EXT         => '3pm',
 
      # Directory to install into when making Windows binary dist.
      WINDOWS_DIST    => "xmltv-$VERSION-win64",