From eba8ee284959f485acb6d4c75dc13e733c7bc7cc Mon Sep 17 00:00:00 2001 From: Vladimir Volovich Date: Mon, 12 May 2008 01:07:46 +0000 Subject: 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 --- Build/source/texk/tex4htk/Makefile.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Build/source/texk/tex4htk') 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 -- cgit v1.2.3