From bd73c3cb1402eda07b0859c0e1768f47cc019e63 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 7 Mar 2008 19:26:47 +0000 Subject: symlink makeglossaries script git-svn-id: svn://tug.org/texlive/trunk@6881 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/tetex/ChangeLog | 6 ++++++ Build/source/texk/tetex/Makefile.in | 15 +++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) (limited to 'Build') diff --git a/Build/source/texk/tetex/ChangeLog b/Build/source/texk/tetex/ChangeLog index 08ce588ef66..bf2cd4cf8e2 100644 --- a/Build/source/texk/tetex/ChangeLog +++ b/Build/source/texk/tetex/ChangeLog @@ -1,3 +1,9 @@ +2008-03-07 Karl Berry + + * Makefile.in (LINKEDPLSCRIPTS): rename from LINKEDPERLSCRIPTS. + (LINKEDNOEXTSCRIPTS): new variable for makeglossaries. + (install-linkedscripts): install them. + 2008-03-03 Karl Berry * latex.info, latex2e.texi: remove; this will become a separate diff --git a/Build/source/texk/tetex/Makefile.in b/Build/source/texk/tetex/Makefile.in index dd05256ad4e..81ed0bdcec2 100644 --- a/Build/source/texk/tetex/Makefile.in +++ b/Build/source/texk/tetex/Makefile.in @@ -14,7 +14,12 @@ SCRIPTS = \ texconfig texconfig-dialog texconfig-sys texdoc texdoctk \ texlinks thumbpdf updmap updmap-sys -LINKEDPERLSCRIPTS = a2ping e2pall epstopdf pdfcrop pkfix ps2eps +# .pl and in texmf +LINKEDPLSCRIPTS = a2ping e2pall epstopdf pdfcrop pkfix ps2eps +# +# no extension and in texmf-dist. +# (need to create a config file or something, ick.) +LINKEDNOEXTSCRIPTS = glossaries/makeglossaries CONTEXTSCRIPTS = \ ctxtools exatools luatools makempy mpstools mptopdf mtxtools \ @@ -109,12 +114,18 @@ install-exec: install-linkedscripts # wrapper for Windows is also done by hand, and also could/should be # done by ctan2tl. # +# $(scriptdir) here is the binary directory, e.g., bin/i386-linux. +# install-linkedscripts: -$(SHELL) $(srcdir)/../mkinstalldirs $(scriptdir) - for s in $(LINKEDPERLSCRIPTS); do \ + for s in $(LINKEDPLSCRIPTS); do \ rm -f $(scriptdir)/$$s; \ ln -s ../../texmf/scripts/$$s/$$s.pl $(scriptdir)/$$s; \ done + for s in $(LINKEDNOEXTSCRIPTS); do \ + target=$(scriptdir)/`basename $$s`; rm -f $$target; \ + ln -s ../../texmf-dist/scripts/$$s $$target`; \ + done kpse_include ../make/clean.mk -- cgit v1.2.3