diff options
Diffstat (limited to 'Build/source/utils/xindy/binaries/Makefile.in')
-rw-r--r-- | Build/source/utils/xindy/binaries/Makefile.in | 28 |
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 $@ |