diff options
author | Vladimir Volovich <vvv@vsu.ru> | 2008-05-12 01:15:23 +0000 |
---|---|---|
committer | Vladimir Volovich <vvv@vsu.ru> | 2008-05-12 01:15:23 +0000 |
commit | 61db0d9e4a6d71762a53437026a6eb62cc0c1fcb (patch) | |
tree | 4231055581a910adde6885ed67f68f77656824db | |
parent | 1cea1a361b0508fe2e276b8b24a70ca51001fbf5 (diff) |
when installing shell scripts into texmf-dist/scripts/tex4ht, add the .sh suffix to file name
when installing perl scripts into texmf-dist/scripts/tex4ht, add the .pl suffix to file name
do not add suffix for symlink names in the bin/arch directory
git-svn-id: svn://tug.org/texlive/trunk@8074 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/tex4htk/Makefile.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/texk/tex4htk/Makefile.in b/Build/source/texk/tex4htk/Makefile.in index ab5bc9b8e08..4029d4d0d51 100644 --- a/Build/source/texk/tex4htk/Makefile.in +++ b/Build/source/texk/tex4htk/Makefile.in @@ -12,8 +12,8 @@ prog_cflags = -DUNIX -DKPATHSEA -DNeedFunctionPrototypes objects = tex4ht.o t4ht.o programs = tex4ht t4ht -scripts = htcontext htlatex htmex httex httexi htxelatex htxetex ht mk4ht - +shell_scripts = htcontext htlatex htmex httex httexi htxelatex htxetex ht mk4ht +perl_scripts = mk4ht default all: $(programs) @@ -33,7 +33,8 @@ install-exec: all $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done $(INSTALL) -d "$(prefix)/texmf-dist/scripts/tex4ht" - for p in $(scripts); do $(INSTALL_SCRIPT) $(srcdir)/$$p "$(prefix)/texmf-dist/scripts/tex4ht/$$p"; done + for p in $(shell_scripts); do $(INSTALL_SCRIPT) $(srcdir)/$$p "$(prefix)/texmf-dist/scripts/tex4ht/$$p.sh"; done + for p in $(perl_scripts); do $(INSTALL_SCRIPT) $(srcdir)/$$p "$(prefix)/texmf-dist/scripts/tex4ht/$$p.pl"; done if test -d "$(bindir)/../../texmf-dist/scripts/tex4ht"; then \ d=../../texmf-dist/scripts/tex4ht; \ elif test -d "$(bindir)/../texmf-dist/scripts/tex4ht"; then \ @@ -42,7 +43,8 @@ install-exec: all 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 + for p in $(shell_scripts); do rm -f $(bindir)/$$p; ln -s $$d/$$p.sh $(bindir)/$$p; done; \ + for p in $(perl_scripts); do rm -f $(bindir)/$$p; ln -s $$d/$$p.pl $(bindir)/$$p; done uninstall-exec: for p in $(programs) $(scripts); do rm -f $(bindir)/$$p; done |