File: rename-md-utils.patch

package info (click to toggle)
libmarkdown-render-perl 1.60.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 228 kB
  • sloc: perl: 498; makefile: 6
file content (34 lines) | stat: -rw-r--r-- 958 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
Description: Rename md-utils.pl to md-utils
 We don't want programs that end with ".pl".
Author: Andrew Ruthven
Forwarded: not-needed
Last-Update: 2024-07-14
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -18,7 +18,7 @@
   ABSTRACT         => 'Render markdown using GitHub API',
   LICENSE          => 'perl',
   PL_FILES         => {},
-  EXE_FILES        => ['bin/md-utils.pl'],
+  EXE_FILES        => ['bin/md-utils'],
   PREREQ_PM        => {
     'Class::Accessor::Fast' => '0.51',
     'Config::Tiny'          => '2.28',
--- a/lib/Markdown/Render.pm
+++ b/lib/Markdown/Render.pm
@@ -480,11 +480,11 @@
 
 ...or from the command line to create HTML
 
- md-utils.pl -r README.md > README.html
+ md-utils -r README.md > README.html
 
 ...or from the command line to replace render custom tags
 
- md-utils.pl README.md.in > README.md
+ md-utils README.md.in > README.md
 
 =head1 DESCRIPTION