diff options
author | Karl Berry <karl@freefriends.org> | 2021-07-10 22:16:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-07-10 22:16:51 +0000 |
commit | 54a8f5ad05132e4e6ccd7ae555cf18b1695a6ce3 (patch) | |
tree | 141e524caa2557a638436737219008cbc2938a81 | |
parent | 055df0f085cf0279e7c9c933c7c7a0492b06658d (diff) |
regenerate xindy.pl from r59893
git-svn-id: svn://tug.org/texlive/trunk@59894 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/texmf-dist/scripts/xindy/xindy.pl | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/Master/texmf-dist/scripts/xindy/xindy.pl b/Master/texmf-dist/scripts/xindy/xindy.pl index 909b6c5625d..1173202614e 100755 --- a/Master/texmf-dist/scripts/xindy/xindy.pl +++ b/Master/texmf-dist/scripts/xindy/xindy.pl @@ -319,7 +319,7 @@ Joachim Schrod =head1 LEGALESE -Copyright (c) 2004-2014 by Joachim Schrod. +Copyright (c) 2004-2021 by Joachim Schrod. B<xindy> is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -340,7 +340,14 @@ GNU General Public License for more details. use strict; use English qw(-no_match_vars); -our $VERSION = sprintf "%d.%02d", q$Revision: 1.18 $ =~ /: (\d+)\.(\d+)/ ; +our $is_TL = ( 'yes' eq 'yes' ); + +our $VERSION = sprintf "%d.%02d", q$xRevision: 1.18 $ =~ /: (\d+)\.(\d+)/ ; +if ($is_TL) { + # Until xindy is actively maintained upstream, let's make + # changes in TL be reflected in different version numbers. + $VERSION .= sprintf ".TL%d", q$Revision: 59893 $ =~ /: (\d+)/ ; # TL rev +} # Used modules. @@ -353,10 +360,17 @@ use File::Temp qw(tempfile tmpnam); use Getopt::Long qw(:config bundling); use POSIX qw(uname); +# Forward declarations for prototypes. + +sub call_xindy ($$); +sub create_raw_index (); +sub filter_index ($$); +sub handle_signals (); +sub parse_options (); +sub xindy_expression (); # Determine environment. Where is our library directory, and our modules? -our $is_TL = ( 'yes' eq 'yes' ); our $is_w32 = ( $OSNAME =~ /^MSWin/i ) ; our $path_sep = ( $is_w32 ? ';' : ':' ) ; our $is_windows = ( $is_w32 || $OSNAME eq 'cygwin' ) ; @@ -501,10 +515,6 @@ our ($quiet, $verbose, %debug, $input_markup = 'latex'; $mem_file = "$lib_dir/xindy.mem"; -my @orig_argv = @ARGV; -parse_options(); - - # Support universal binary on Mac OS X. if ( $OSNAME eq 'darwin' && ! -e $mem_file ) { @@ -519,6 +529,11 @@ if ( $OSNAME eq 'darwin' && ! -e $mem_file ) { $mem_file = "$lib_dir/xindy-i386.mem"; } } + +my @orig_argv = @ARGV; +parse_options(); + +# might get overridden die "$cmd: Cannot locate $mem_file" unless -e $mem_file; @@ -928,6 +943,8 @@ sub quotify ( $ ) { #====================================================================== +# (modified several times for TeX Live; see +# Build/source/utils/xindy/ChangeLog) # # $Log: xindy.pl,v $ # Revision 1.18 2011/01/18 22:18:29 jschrod |