diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-06-08 00:40:41 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-06-08 00:40:41 +0000 |
commit | 26d19b41e9a38b31f373e5ca5b86cc1cece07dcc (patch) | |
tree | 6220266b77ca895cf6e29d6fbecbac7426655169 /Build | |
parent | 1c436d4fb537dcee0cf3c69bddd42c1cb282b0ad (diff) |
xindy/xindy-src/user-commands/xindy.in: Use kpsewhich to search for modules
git-svn-id: svn://tug.org/texlive/trunk@41315 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/utils/xindy/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/utils/xindy/xindy-src/user-commands/xindy.in | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/Build/source/utils/xindy/ChangeLog b/Build/source/utils/xindy/ChangeLog index cf28aa00f0a..f08f702a789 100644 --- a/Build/source/utils/xindy/ChangeLog +++ b/Build/source/utils/xindy/ChangeLog @@ -1,3 +1,9 @@ +2016-06-08 Akira Kakuto <kakuto@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@fuk.kindai.ac.jp> * Makefile.am, configure.ac: New convention. diff --git a/Build/source/utils/xindy/xindy-src/user-commands/xindy.in b/Build/source/utils/xindy/xindy-src/user-commands/xindy.in index e6ae9198e7a..6e1bdbb9f83 100644 --- a/Build/source/utils/xindy/xindy-src/user-commands/xindy.in +++ b/Build/source/utils/xindy/xindy-src/user-commands/xindy.in @@ -803,7 +803,13 @@ sub xindy_expression () { 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); } |