[Pkg-voip-commits] [dahdi-tools] 271/285: xpp: perl man pages: Perl may be upper case

tzafrir at debian.org tzafrir at debian.org
Thu Jul 7 19:19:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

tzafrir pushed a commit to branch master
in repository dahdi-tools.

commit 6057ef25e984a2c7f8327b872233ba610b9aabe6
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date:   Wed Feb 17 17:40:54 2016 +0200

    xpp: perl man pages: Perl may be upper case
    
    In file's output Perl scripts may be 'awk or perl script',
    '/usr/bin/perl script' or 'Perl script' (with some minor variants). The
    latter was not detected by current code and thus perld man pages were
    not created.
    
    Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
---
 xpp/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xpp/Makefile.am b/xpp/Makefile.am
index d06fffe..05f1b1c 100644
--- a/xpp/Makefile.am
+++ b/xpp/Makefile.am
@@ -24,7 +24,7 @@ if PERL
 SUBDIRS		+= perl_modules
 
 %.8: %
-	@if file "$^" | cut -d: -f2 | grep -q perl; then \
+	@if file "$^" | cut -d: -f2 | grep -q -iw perl; then \
 		if pod2man --section 8 $^ > $@; then \
 			echo "  GEN      $@"; \
 		else \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git



More information about the Pkg-voip-commits mailing list