diff options
author | Vladimir Volovich <vvv@vsu.ru> | 2008-04-20 04:25:01 +0000 |
---|---|---|
committer | Vladimir Volovich <vvv@vsu.ru> | 2008-04-20 04:25:01 +0000 |
commit | 86f8708d1f582b3ceee54772cc03c70e099598c0 (patch) | |
tree | f809a44558421f0cc4756c1a14482d9247729c5d /Build/source/utils/xindy/binaries | |
parent | c218373fa03fe30ccb9fcc9594ff60dba4e4d6d4 (diff) |
simplify Makefiles (mostly remove the need to have TETEX_BUILD-specific sections)
git-svn-id: svn://tug.org/texlive/trunk@7537 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/xindy/binaries')
-rw-r--r-- | Build/source/utils/xindy/binaries/Makefile.am | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/Build/source/utils/xindy/binaries/Makefile.am b/Build/source/utils/xindy/binaries/Makefile.am index dd519c1a336..bfa582e5c41 100644 --- a/Build/source/utils/xindy/binaries/Makefile.am +++ b/Build/source/utils/xindy/binaries/Makefile.am @@ -23,34 +23,28 @@ # 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 if TETEX_BUILD - MODULEDIR = $(prefix)/texmf/xindy kerneldir = $(bindir) else -# Where the modules are found at runtime. - MODULEDIR = $(pkgdatadir) # Where the files xindy.run and xindy.mem should be installed. kerneldir = $(pkglibdir) endif -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 $@ |