diff options
author | Vladimir Volovich <vvv@vsu.ru> | 2008-05-12 01:07:46 +0000 |
---|---|---|
committer | Vladimir Volovich <vvv@vsu.ru> | 2008-05-12 01:07:46 +0000 |
commit | eba8ee284959f485acb6d4c75dc13e733c7bc7cc (patch) | |
tree | a18644cdd02d26d21138f7fba94c3e56e27027f0 /Build/source | |
parent | fbb525fbfbe9d7c0e8e0dbbaf8360f43cd1dbbf0 (diff) |
per conversation with Karl:
install tex4ht scripts in texmf-dist/scripts/tex4ht/ directory,
and create symlinks in the bin/arch/ directories pointing to them.
honour the --disable-multiplatform option.
git-svn-id: svn://tug.org/texlive/trunk@8072 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/tex4htk/Makefile.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Build/source/texk/tex4htk/Makefile.in b/Build/source/texk/tex4htk/Makefile.in index a96a5b4f295..ab5bc9b8e08 100644 --- a/Build/source/texk/tex4htk/Makefile.in +++ b/Build/source/texk/tex4htk/Makefile.in @@ -32,7 +32,17 @@ uninstall: uninstall-exec uninstall-data install-exec: all $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done - for p in $(scripts); do $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/$$p; done + $(INSTALL) -d "$(prefix)/texmf-dist/scripts/tex4ht" + for p in $(scripts); do $(INSTALL_SCRIPT) $(srcdir)/$$p "$(prefix)/texmf-dist/scripts/tex4ht/$$p"; done + if test -d "$(bindir)/../../texmf-dist/scripts/tex4ht"; then \ + d=../../texmf-dist/scripts/tex4ht; \ + elif test -d "$(bindir)/../texmf-dist/scripts/tex4ht"; then \ + d=../../texmf-dist/scripts/tex4ht; \ + else \ + echo "Error: texmf-dist/scripts/tex4ht directory not found"; \ + false; \ + fi; \ + for p in $(scripts); do rm -f $(bindir)/$$p; ln -s $$d/$$p $(bindir)/$$p; done uninstall-exec: for p in $(programs) $(scripts); do rm -f $(bindir)/$$p; done |