summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-06-01 16:08:28 +0000
committerKarl Berry <karl@freefriends.org>2008-06-01 16:08:28 +0000
commit7cbad408e7d447e032691402c7045b0a43459eed (patch)
treec9ca22d7d4fde1239772f37211ad9a4a194a7b75 /Build
parent17d06af16333aa86a6d718fbc3ebfbbb31b87c6d (diff)
install rungs and texlua symlinks
git-svn-id: svn://tug.org/texlive/trunk@8451 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/texlive/ChangeLog4
-rw-r--r--Build/source/texk/texlive/Makefile.in11
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/rungs.tlu43
-rw-r--r--Build/source/texk/web2c/ChangeLog4
-rw-r--r--Build/source/texk/web2c/luatexdir/luatex.mk1
5 files changed, 58 insertions, 5 deletions
diff --git a/Build/source/texk/texlive/ChangeLog b/Build/source/texk/texlive/ChangeLog
index cf55e1b5ddc..e1bf31e8bc6 100644
--- a/Build/source/texk/texlive/ChangeLog
+++ b/Build/source/texk/texlive/ChangeLog
@@ -1,3 +1,7 @@
+2008-06-01 Karl Berry <karl@tug.org>
+
+ * Makefile.in (LINKED_SCRIPTS): add rungs.tlu.
+
2008-05-25 Karl Berry <karl@tug.org>
* Makefile.in (LINKED_SCRIPTS): add dviasm.py
diff --git a/Build/source/texk/texlive/Makefile.in b/Build/source/texk/texlive/Makefile.in
index a544d09d36c..2701eafb37c 100644
--- a/Build/source/texk/texlive/Makefile.in
+++ b/Build/source/texk/texlive/Makefile.in
@@ -19,19 +19,20 @@ LINKED_SCRIPTS = \
texmf/scripts/ps2eps/ps2eps.pl \
texmf/scripts/tetex/e2pall.pl \
texmf/scripts/tetex/texdoctk.pl \
- texmf/scripts/texlive/tlmgr.pl \
- texmf/scripts/texlive/texdoc.tlu \
texmf/scripts/texlive/getnonfreefonts.pl \
+ texmf/scripts/texlive/rungs.tlu \
+ texmf/scripts/texlive/texdoc.tlu \
+ texmf/scripts/texlive/tlmgr.pl \
texmf-dist/scripts/dviasm/dviasm.py \
texmf-dist/scripts/glossaries/makeglossaries \
texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl \
- texmf-dist/scripts/perltex/perltex.pl \
texmf-dist/scripts/pdfcrop/pdfcrop.pl \
+ texmf-dist/scripts/perltex/perltex.pl \
+ texmf-dist/scripts/ppower4/pdfthumb.texlua \
+ texmf-dist/scripts/ppower4/ppower4.texlua \
texmf-dist/scripts/pst-pdf/ps4pdf \
texmf-dist/scripts/texcount/TeXcount.pl \
texmf-dist/scripts/thumbpdf/thumbpdf.pl \
- texmf-dist/scripts/ppower4/ppower4.texlua \
- texmf-dist/scripts/ppower4/pdfthumb.texlua \
texmf-dist/scripts/vpe/vpe.pl
manpgs = getnonfreefonts getnonfreefonts-sys
diff --git a/Build/source/texk/texlive/linked_scripts/rungs.tlu b/Build/source/texk/texlive/linked_scripts/rungs.tlu
new file mode 100755
index 00000000000..7ac0587b397
--- /dev/null
+++ b/Build/source/texk/texlive/linked_scripts/rungs.tlu
@@ -0,0 +1,43 @@
+#!/usr/bin/env texlua
+--*-Lua-*-
+-- $Id: rungs.tlu 7698 2008-04-28 14:23:31Z reinhardk $
+
+-- Copyright (C) 2008 Reinhard Kotucha.
+-- You may freely use, modify and/or distribute this file.
+
+-- Run Ghostscript (gs on Unix, gswin32c on Windows)
+
+function fixwin(args_unix)
+ if os.type == 'windows' then
+ local args_win={} -- new table
+ args_win[0]=args_unix[1]
+ for i=1, #args_unix do
+ args_win[i]='"'..args_unix[i]..'"'
+ end
+ return args_win
+ else
+ return args_unix
+ end
+end
+
+if os.type == 'windows' then
+ command={'gswin32c'}
+else
+ command={'gs'}
+end
+
+for i=1, #arg do
+ command[#command+1]=arg[i]
+end
+
+command=fixwin(command)
+
+--[[ prepend an additional hyphen to activate this code
+for i=0, #command do
+ print (command[i])
+end
+os.exit(ret)
+--]]
+
+ret=os.spawn(command)
+os.exit(ret)
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index 8b522b5dcb3..ead15532685 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,7 @@
+2008-06-01 Karl Berry <karl@tug.org>
+
+ * luatexdir/luatex.mk (install-exec): install texlua symlink.
+
2008-05-31 Karl Berry <karl@tug.org>
* Makefile.in (install-programs): stupidly forgot to install
diff --git a/Build/source/texk/web2c/luatexdir/luatex.mk b/Build/source/texk/web2c/luatexdir/luatex.mk
index 19cf9d4e223..bfdd90df9bd 100644
--- a/Build/source/texk/web2c/luatexdir/luatex.mk
+++ b/Build/source/texk/web2c/luatexdir/luatex.mk
@@ -123,6 +123,7 @@ install-luatex: install-luatex-exec
install-programs: @LTEX@ install-luatex-exec
install-luatex-exec: $(luatex) $(bindir)
for p in luatex; do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
+ cd $(DESTDIR)$(bindir) && rm -f texlua && $(LN) luatex texlua
#
# luatex binaries archive