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@xorcom.com>
This commit is contained in:
Tzafrir Cohen 2016-02-17 17:40:54 +02:00
parent e1da7b5284
commit 6057ef25e9
1 changed files with 1 additions and 1 deletions

View File

@ -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 \