summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/binaries
diff options
context:
space:
mode:
authorVladimir Volovich <vvv@vsu.ru>2008-04-06 18:53:01 +0000
committerVladimir Volovich <vvv@vsu.ru>2008-04-06 18:53:01 +0000
commit320a8db19049b2f80922143eae02c4150b66a139 (patch)
tree88db35076f3f8fe4521c650c7a29850afcf4c9a1 /Build/source/utils/xindy/binaries
parent70c598ad3062d542d1cf9690e26e4d687d74564e (diff)
configure.ac:
CLISP_LIB can potentially end with a backslash (on mingw), which is treated as a line merging character in Makefile, so add _AM_SUBST_NOTMAKE(CLISP_LIB) to avoid such situation, and instead refer to CLISP_LIB as @CLISP_LIB@ configure.ac, rte/Makefile.am, binaries/Makefile.am: on mingw, lisp.run is called lisp.exe on mingw, we need to use .exe suffix for the backend binary (which is called xindy.run on POSIX systems), so to avoid a clash with the frontend user command "xindy", use the name "xindy-lisp.exe" on mingw which is a counterpart of "xindy.run" on POSIX. binaries/Makefile.am: renamed XINDY_RUN to RUN_XINDY to not clash with the newly introduced XINDY_RUN and LISP_RUN variables added -norc to RUN_XINDY git-svn-id: svn://tug.org/texlive/trunk@7336 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/xindy/binaries')
-rw-r--r--Build/source/utils/xindy/binaries/Makefile.am18
1 files changed, 8 insertions, 10 deletions
diff --git a/Build/source/utils/xindy/binaries/Makefile.am b/Build/source/utils/xindy/binaries/Makefile.am
index dcb7575a8e3..dd519c1a336 100644
--- a/Build/source/utils/xindy/binaries/Makefile.am
+++ b/Build/source/utils/xindy/binaries/Makefile.am
@@ -26,7 +26,7 @@ FAS = base.fas locref.fas idxstyle.fas index.fas version.fas markup.fas
DEFAULTS = defaults.xdy
DUMP_XINDY = $(SRCDIR)/dump-xindy.lsp
MEMFILE = xindy.mem
-XINDY_RUN = ./xindy.run -q -M ./base.mem
+RUN_XINDY = ./$(XINDY_RUN) -q -norc -M ./base.mem
if TETEX_BUILD
MODULEDIR = $(prefix)/texmf/xindy
@@ -38,13 +38,12 @@ else
kerneldir = $(pkglibdir)
endif
-xindy.mem: $(DEFAULTS) $(FAS) base.mem xindy.run
+xindy.mem: $(DEFAULTS) $(FAS) base.mem $(XINDY_RUN)
rm -f $(MEMFILE)
- $(XINDY_RUN) -x '(load "$(DUMP_XINDY)")'
+ $(RUN_XINDY) -x '(load "$(DUMP_XINDY)")'
gzip $(MEMFILE)
mv $(MEMFILE).gz $(MEMFILE)
-
$(DEFAULTS):
@$(RM) $(DEFAULTS)
@echo "Creating file $(DEFAULTS)..."
@@ -53,17 +52,16 @@ $(DEFAULTS):
@echo " (pathname \"$(MODULEDIR)\")))" >> $(DEFAULTS)
@echo "Finished $(DEFAULTS)."
-%.fas : $(SRCDIR)/%.lsp
- $(XINDY_RUN) -c $< -o $@
+%.fas: $(SRCDIR)/%.lsp
+ $(RUN_XINDY) -c $< -o $@
# *.lib files which should be cleaned
FASLIBS = base.lib locref.lib idxstyle.lib index.lib version.lib markup.lib
kernel_DATA = xindy.mem
-kernel_SCRIPTS = xindy.run
-
-CLEANFILES = $(FAS) $(FASLIBS) defaults.xdy base.mem \
- $(kernel_DATA) $(kernel_SCRIPTS)
+kernel_SCRIPTS = $(XINDY_RUN)
+EXTRA_SCRIPTS = xindy.run xindy-lisp.exe
+CLEANFILES = $(FAS) $(FASLIBS) defaults.xdy base.mem xindy.mem $(XINDY_RUN)