diff options
author | Vladimir Volovich <vvv@vsu.ru> | 2008-03-22 04:30:47 +0000 |
---|---|---|
committer | Vladimir Volovich <vvv@vsu.ru> | 2008-03-22 04:30:47 +0000 |
commit | faaf22ece56389786d45ae6463600986eaead3a9 (patch) | |
tree | 34f14306bdff66b91d7de7b8caea0e9e0d77b690 /Build/source/utils/xindy/user-commands/xindy.v2.in | |
parent | 1472f655976291d22dbaa4c321df214ae82d9ec3 (diff) |
* instead of 3 configure options: --enable-external-clisp,
--enable-clisp-path, --enable-clisp-dir there is now only one:
--with-external-clisp[=PATH] which, when used, asks to use an
external clisp, which is searched in $PATH, or it is possible
to supply an absolute location if it is not in $PATH.
* the former --enable-clisp-dir option is removed; instead, we use
a robust way to determine CLISP library directory by calling
clisp -q -norc -x '(progn (princ *lib-directory*) (values))'
(this is borrowed from the Meta-CVS package, referenced at
http://www.niksula.cs.hut.fi/~tsiivola/clisp-ffi-howto.html)
* the configure script performs better checking of clisp
availability and shows proper errors when needed.
* added the --enable-tetex-build option which is used for the
texlive builds, and installs the files at the texlive-specific
locations. added corresponding support to the user-commands
scripts (xindy, xindy.v2, texindy), to allow them locate
xindy.{run,mem} and runtime *.xdy modules in the texlive layout.
* do not fail if clisp-link shell script exists but is not
executable, as it happens in some distributions. instead, call
it via "sh".
git-svn-id: svn://tug.org/texlive/trunk@7067 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/xindy/user-commands/xindy.v2.in')
-rw-r--r-- | Build/source/utils/xindy/user-commands/xindy.v2.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/utils/xindy/user-commands/xindy.v2.in b/Build/source/utils/xindy/user-commands/xindy.v2.in index 987e37c5640..67a14e6cf25 100644 --- a/Build/source/utils/xindy/user-commands/xindy.v2.in +++ b/Build/source/utils/xindy/user-commands/xindy.v2.in @@ -147,6 +147,8 @@ if ( $ENV{XINDY_LIBDIR} ) { $LibDir = "$cmd_dir/../lib"; } elsif ( -d "$cmd_dir/../lib/xindy" ) { # /usr or /usr/local style $LibDir = "$cmd_dir/../lib/xindy"; +} elsif ( -f "$cmd_dir/xindy.run" ) { # texlive style + $LibDir = $cmd_dir; } else { die "Cannot locate xindy library directory"; } @@ -158,6 +160,8 @@ if ( -d "$cmd_dir/../modules" ) { # /opt style $modules_dir = "$cmd_dir/../modules"; } elsif ( -d "$LibDir/modules" ) { # /usr or /usr/local style $modules_dir = "$LibDir/modules"; +} elsif ( -d "$LibDir/../../texmf/scripts/xindy" ) { # texlive style + $modules_dir = "$LibDir/../../texmf/scripts/xindy"; } else { die "Cannot locate xindy modules directory"; } |