summaryrefslogtreecommitdiff
path: root/Build/source/texk/tetex/Makefile.in
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-03-08 19:05:09 +0000
committerKarl Berry <karl@freefriends.org>2008-03-08 19:05:09 +0000
commit0aeb8a0fd26be4d444811cbfc4975960578c28ef (patch)
tree7a4ff7f90bab5e3c0f03acc98e87745697ce8071 /Build/source/texk/tetex/Makefile.in
parent8b595c714f37f447d634a45f8d3e64eb772f7649 (diff)
symlink vpe script
git-svn-id: svn://tug.org/texlive/trunk@6897 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/tetex/Makefile.in')
-rw-r--r--Build/source/texk/tetex/Makefile.in18
1 files changed, 8 insertions, 10 deletions
diff --git a/Build/source/texk/tetex/Makefile.in b/Build/source/texk/tetex/Makefile.in
index c65a41203b1..7f9995789a3 100644
--- a/Build/source/texk/tetex/Makefile.in
+++ b/Build/source/texk/tetex/Makefile.in
@@ -19,9 +19,9 @@ SCRIPTS = \
LINKEDPLSCRIPTS = a2ping e2pall epstopdf pdfcrop pkfix ps2eps texdoctk \
thumbpdf
#
-# no extension and in texmf-dist.
-# (need to create a config file or something, ick.)
-LINKEDNOEXTSCRIPTS = glossaries/makeglossaries
+LINKEDSCRIPTS = \
+ texmf-dist/scripts/glossaries/makeglossaries \
+ texmf-dist/scripts/vpe/vpe.pl
CONTEXTSCRIPTS = \
ctxtools exatools luatools makempy mpstools mptopdf mtxtools \
@@ -120,13 +120,11 @@ install-exec: install-linkedscripts
#
install-linkedscripts:
-$(SHELL) $(srcdir)/../mkinstalldirs $(scriptdir)
- 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`; \
+ # link to the basename, removing any extension, of the source.
+ for s in $(LINKEDSCRIPTS); do \
+ target=$(scriptdir)/`basename $$s | sed 's,\.[^/]*$$,,'`; \
+ rm -f $$target; \
+ ln -s ../../$$s $$target; \
done
kpse_include ../make/clean.mk