summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/binaries
diff options
context:
space:
mode:
authorVladimir Volovich <vvv@vsu.ru>2008-04-20 04:26:11 +0000
committerVladimir Volovich <vvv@vsu.ru>2008-04-20 04:26:11 +0000
commit7d3d4abfd9f3ae56f99687564982f7df42d90b10 (patch)
tree1026b3a2f91d0fdcad1cc957a24dbd81854e8a50 /Build/source/utils/xindy/binaries
parent86f8708d1f582b3ceee54772cc03c70e099598c0 (diff)
autoreconf
git-svn-id: svn://tug.org/texlive/trunk@7538 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/xindy/binaries')
-rw-r--r--Build/source/utils/xindy/binaries/Makefile.in28
1 files changed, 11 insertions, 17 deletions
diff --git a/Build/source/utils/xindy/binaries/Makefile.in b/Build/source/utils/xindy/binaries/Makefile.in
index b9fbe8a205f..9513935fef9 100644
--- a/Build/source/utils/xindy/binaries/Makefile.in
+++ b/Build/source/utils/xindy/binaries/Makefile.in
@@ -162,13 +162,8 @@ top_srcdir = @top_srcdir@
# some global variables
SRCDIR = $(top_srcdir)/src
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
RUN_XINDY = ./$(XINDY_RUN) -q -norc -M ./base.mem
-# Where the modules are found at runtime.
-@TETEX_BUILD_FALSE@MODULEDIR = $(pkgdatadir)
-@TETEX_BUILD_TRUE@MODULEDIR = $(prefix)/texmf/xindy
# Where the files xindy.run and xindy.mem should be installed.
@TETEX_BUILD_FALSE@kerneldir = $(pkglibdir)
@TETEX_BUILD_TRUE@kerneldir = $(bindir)
@@ -381,19 +376,18 @@ uninstall-am: uninstall-kernelDATA uninstall-kernelSCRIPTS
uninstall-kernelDATA uninstall-kernelSCRIPTS
-xindy.mem: $(DEFAULTS) $(FAS) base.mem $(XINDY_RUN)
- rm -f $(MEMFILE)
+xindy.mem: defaults.xdy $(FAS) base.mem $(XINDY_RUN)
+ rm -f $@
$(RUN_XINDY) -x '(load "$(DUMP_XINDY)")'
- gzip $(MEMFILE)
- mv $(MEMFILE).gz $(MEMFILE)
-
-$(DEFAULTS):
- @$(RM) $(DEFAULTS)
- @echo "Creating file $(DEFAULTS)..."
- @echo "(setq *load-paths* (list " > $(DEFAULTS)
- @echo " (pathname \".\")" >> $(DEFAULTS)
- @echo " (pathname \"$(MODULEDIR)\")))" >> $(DEFAULTS)
- @echo "Finished $(DEFAULTS)."
+ test "$(host_os)" != "mingw32" && gzip -9n $@ && mv $@.gz $@
+
+defaults.xdy:
+ @$(RM) $@
+ @echo "Creating file $@ ..."
+ @echo "(setq *load-paths* (list " > $@
+ @echo " (pathname \".\")" >> $@
+ @echo " (pathname \"$(pkgdatadir)\")))" >> $@
+ @echo "Finished $@."
%.fas: $(SRCDIR)/%.lsp
$(RUN_XINDY) -c $< -o $@