diff options
-rw-r--r-- | Build/source/texk/texlive/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/texlive/Makefile.in | 11 | ||||
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/rungs.tlu | 43 | ||||
-rw-r--r-- | Build/source/texk/web2c/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luatex.mk | 1 |
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 |