texlive[41315] Build/source/utils/xindy:

commits+kakuto at tug.org commits+kakuto at tug.org
Wed Jun 8 02:40:41 CEST 2016


Revision: 41315
          http://tug.org/svn/texlive?view=revision&revision=41315
Author:   kakuto
Date:     2016-06-08 02:40:41 +0200 (Wed, 08 Jun 2016)
Log Message:
-----------
xindy/xindy-src/user-commands/xindy.in: Use kpsewhich to search for modules

Modified Paths:
--------------
    trunk/Build/source/utils/xindy/ChangeLog
    trunk/Build/source/utils/xindy/xindy-src/user-commands/xindy.in

Modified: trunk/Build/source/utils/xindy/ChangeLog
===================================================================
--- trunk/Build/source/utils/xindy/ChangeLog	2016-06-07 15:29:15 UTC (rev 41314)
+++ trunk/Build/source/utils/xindy/ChangeLog	2016-06-08 00:40:41 UTC (rev 41315)
@@ -1,3 +1,9 @@
+2016-06-08  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
+
+	* xindy-src/user-commands/xindy.in: Use kpsewhich to search for modules.
+	Performance is lost. However user modules specified by the -M option
+	can be under <anytexmf>/xindy/modules/.
+
 2016-02-22  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
 
 	* Makefile.am, configure.ac: New convention.

Modified: trunk/Build/source/utils/xindy/xindy-src/user-commands/xindy.in
===================================================================
--- trunk/Build/source/utils/xindy/xindy-src/user-commands/xindy.in	2016-06-07 15:29:15 UTC (rev 41314)
+++ trunk/Build/source/utils/xindy/xindy-src/user-commands/xindy.in	2016-06-08 00:40:41 UTC (rev 41315)
@@ -803,7 +803,13 @@
 	push (@temp_files, $style_file);
 	$style_file=quotify($style_file);
 	foreach my $module ( @modules ) {
-	    print $sf "(require \"$module\")\n";
+	    my $fnmodule=`kpsewhich -progname=xindy -format=othertext $module`;
+	    if ($fnmodule) {
+		chomp($fnmodule);
+		print $sf "(require \"$fnmodule\")\n";
+	    } else {
+		print $sf "(require \"$module\")\n";
+	    }
 	}
 	close ($sf);
     }



More information about the tex-live-commits mailing list