summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-12-14 00:46:52 +0000
committerKarl Berry <karl@freefriends.org>2009-12-14 00:46:52 +0000
commite76d068cf3d9106fe0cb7c76a24eea7251412b2b (patch)
tree085ac478e8eef37ce160b9db019e1a2dd961551e /Build
parent2ab664c5350e187fe6a3a00e3c1ad0bd43b7eb10 (diff)
remove obsolete and unused .bat files and scripts
git-svn-id: svn://tug.org/texlive/trunk@16393 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/dvipsk/ChangeLog5
-rw-r--r--Build/source/texk/dvipsk/Makefile.am2
-rw-r--r--Build/source/texk/dvipsk/pc/README.pc152
-rw-r--r--Build/source/texk/dvipsk/pc/afm2tfm.def3
-rw-r--r--Build/source/texk/dvipsk/pc/config.ps65
-rw-r--r--Build/source/texk/dvipsk/pc/dvips16.def3
-rw-r--r--Build/source/texk/dvipsk/pc/dvipswin.def6
-rw-r--r--Build/source/texk/dvipsk/pc/makefile.emx373
-rw-r--r--Build/source/texk/dvipsk/pc/makefile.msc313
-rw-r--r--Build/source/texk/dvipsk/pc/makefile.tc282
-rw-r--r--Build/source/texk/dvipsk/pc/makefile.wat310
-rw-r--r--Build/source/texk/dvipsk/pc/makefile.wt2304
-rw-r--r--Build/source/texk/dvipsk/pc/maketexp.bat52
-rw-r--r--Build/source/texk/dvipsk/pc/maketexp.cmd56
-rw-r--r--Build/source/texk/dvipsk/pc/squeeze.def3
-rw-r--r--Build/source/texk/dvipsk/pc/wat.h10
-rw-r--r--Build/source/texk/dvipsk/pc/winmain.c89
-rw-r--r--Build/source/texk/texlive/ChangeLog5
-rw-r--r--Build/source/texk/texlive/Makefile.am81
-rwxr-xr-xBuild/source/texk/texlive/amstex3
-rwxr-xr-xBuild/source/texk/texlive/amstex.bat8
-rwxr-xr-xBuild/source/texk/texlive/blue.bat2
-rwxr-xr-xBuild/source/texk/texlive/cont-cz.bat2
-rwxr-xr-xBuild/source/texk/texlive/cont-de3
-rwxr-xr-xBuild/source/texk/texlive/cont-de.bat2
-rwxr-xr-xBuild/source/texk/texlive/cont-en3
-rwxr-xr-xBuild/source/texk/texlive/cont-en.bat2
-rwxr-xr-xBuild/source/texk/texlive/cont-nl3
-rwxr-xr-xBuild/source/texk/texlive/cont-nl.bat2
-rwxr-xr-xBuild/source/texk/texlive/cont-ro.bat2
-rwxr-xr-xBuild/source/texk/texlive/cont-uk.bat2
-rwxr-xr-xBuild/source/texk/texlive/cslatex2
-rwxr-xr-xBuild/source/texk/texlive/cslatex.bat2
-rwxr-xr-xBuild/source/texk/texlive/cslatexd.bat2
-rwxr-xr-xBuild/source/texk/texlive/cslatexi.bat2
-rwxr-xr-xBuild/source/texk/texlive/cslatexk.bat2
-rwxr-xr-xBuild/source/texk/texlive/csplain2
-rwxr-xr-xBuild/source/texk/texlive/csplain.bat2
-rwxr-xr-xBuild/source/texk/texlive/csplaind.bat2
-rwxr-xr-xBuild/source/texk/texlive/csplaini.bat2
-rwxr-xr-xBuild/source/texk/texlive/csplaink.bat2
-rwxr-xr-xBuild/source/texk/texlive/einitex2
-rwxr-xr-xBuild/source/texk/texlive/elatex3
-rwxr-xr-xBuild/source/texk/texlive/elatex.bat2
-rwxr-xr-xBuild/source/texk/texlive/eplain3
-rwxr-xr-xBuild/source/texk/texlive/eplain.bat2
-rwxr-xr-xBuild/source/texk/texlive/evirtex2
-rwxr-xr-xBuild/source/texk/texlive/giftopng4
-rwxr-xr-xBuild/source/texk/texlive/hugelatex3
-rwxr-xr-xBuild/source/texk/texlive/hugelatex.bat2
-rwxr-xr-xBuild/source/texk/texlive/hugetex3
-rwxr-xr-xBuild/source/texk/texlive/hugetex.bat2
-rwxr-xr-xBuild/source/texk/texlive/inimf2
-rwxr-xr-xBuild/source/texk/texlive/inimpost2
-rwxr-xr-xBuild/source/texk/texlive/iniomega2
-rwxr-xr-xBuild/source/texk/texlive/initex2
-rwxr-xr-xBuild/source/texk/texlive/jadetex3
-rwxr-xr-xBuild/source/texk/texlive/jadetex.bat2
-rwxr-xr-xBuild/source/texk/texlive/lambda3
-rwxr-xr-xBuild/source/texk/texlive/lamstex.bat2
-rwxr-xr-xBuild/source/texk/texlive/latex3
-rwxr-xr-xBuild/source/texk/texlive/lollipop.bat2
-rwxr-xr-xBuild/source/texk/texlive/mex3
-rwxr-xr-xBuild/source/texk/texlive/mex-pl.bat2
-rwxr-xr-xBuild/source/texk/texlive/mex.bat2
-rwxr-xr-xBuild/source/texk/texlive/mllatex3
-rwxr-xr-xBuild/source/texk/texlive/mllatex.bat2
-rwxr-xr-xBuild/source/texk/texlive/mltex3
-rwxr-xr-xBuild/source/texk/texlive/mltex.bat2
-rwxr-xr-xBuild/source/texk/texlive/mptopdf102
-rwxr-xr-xBuild/source/texk/texlive/nts280
-rwxr-xr-xBuild/source/texk/texlive/pdfcslatex2
-rwxr-xr-xBuild/source/texk/texlive/pdfcslatex.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdfcslatexd.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdfcslatexi.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdfcslatexk.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdfcsplain2
-rwxr-xr-xBuild/source/texk/texlive/pdfcsplain.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdfcsplaind.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdfcsplaini.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdfcsplaink.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdfeinitex2
-rwxr-xr-xBuild/source/texk/texlive/pdfemex-pl.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdfevirtex2
-rwxr-xr-xBuild/source/texk/texlive/pdfinitex2
-rwxr-xr-xBuild/source/texk/texlive/pdfjadetex3
-rwxr-xr-xBuild/source/texk/texlive/pdfjadetex.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdflatex3
-rwxr-xr-xBuild/source/texk/texlive/pdfmex3
-rwxr-xr-xBuild/source/texk/texlive/pdfmex-pl.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdfmex.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdfplatex3
-rwxr-xr-xBuild/source/texk/texlive/pdfplatex-pl.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdftexinfo3
-rwxr-xr-xBuild/source/texk/texlive/pdftexinfo.bat2
-rwxr-xr-xBuild/source/texk/texlive/pdfvirtex2
-rwxr-xr-xBuild/source/texk/texlive/pdfxmltex3
-rwxr-xr-xBuild/source/texk/texlive/physe3
-rwxr-xr-xBuild/source/texk/texlive/physe.bat2
-rwxr-xr-xBuild/source/texk/texlive/phyzzx3
-rwxr-xr-xBuild/source/texk/texlive/phyzzx.bat2
-rwxr-xr-xBuild/source/texk/texlive/platex3
-rwxr-xr-xBuild/source/texk/texlive/platex-pl.bat2
-rwxr-xr-xBuild/source/texk/texlive/platex.bat2
-rwxr-xr-xBuild/source/texk/texlive/startex3
-rwxr-xr-xBuild/source/texk/texlive/startex.bat2
-rwxr-xr-xBuild/source/texk/texlive/texinfo3
-rwxr-xr-xBuild/source/texk/texlive/texinfo.bat2
-rwxr-xr-xBuild/source/texk/texlive/texsis3
-rwxr-xr-xBuild/source/texk/texlive/texsis.bat2
-rwxr-xr-xBuild/source/texk/texlive/text13
-rwxr-xr-xBuild/source/texk/texlive/text1.bat2
-rwxr-xr-xBuild/source/texk/texlive/virmf2
-rwxr-xr-xBuild/source/texk/texlive/virmpost2
-rwxr-xr-xBuild/source/texk/texlive/viromega2
-rwxr-xr-xBuild/source/texk/texlive/virtex2
-rwxr-xr-xBuild/source/texk/texlive/xeinitex2
-rwxr-xr-xBuild/source/texk/texlive/xelatex3
-rwxr-xr-xBuild/source/texk/texlive/xevirtex2
-rwxr-xr-xBuild/source/texk/texlive/xmltex3
-rw-r--r--Build/source/texk/web2c/web2c/ChangeLog5
-rw-r--r--Build/source/texk/web2c/web2c/Makefile.am5
-rw-r--r--Build/source/texk/web2c/web2c/convert.bat77
123 files changed, 16 insertions, 2802 deletions
diff --git a/Build/source/texk/dvipsk/ChangeLog b/Build/source/texk/dvipsk/ChangeLog
index 57e0a35be00..1420b758993 100644
--- a/Build/source/texk/dvipsk/ChangeLog
+++ b/Build/source/texk/dvipsk/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-14 Karl Berry <karl@tug.org>
+
+ * pc: remove obsolete subdir.
+ * Makefile.am (EXTRA_DIST): rm.
+
2009-12-11 Alexander Cherepanov <cherepan@mccme.ru>
* protos.h (hash): change decl.
diff --git a/Build/source/texk/dvipsk/Makefile.am b/Build/source/texk/dvipsk/Makefile.am
index b878726301c..ecafbf774b8 100644
--- a/Build/source/texk/dvipsk/Makefile.am
+++ b/Build/source/texk/dvipsk/Makefile.am
@@ -176,7 +176,6 @@ EXTRA_DIST += \
lafonts.map \
makefont.c \
mvs \
- pc \
psfonts.map \
reencode \
tex \
@@ -186,4 +185,3 @@ EXTRA_DIST += \
# in case of an SVN repository
dist-hook:
rm -rf `find $(distdir) -name .svn`
-
diff --git a/Build/source/texk/dvipsk/pc/README.pc b/Build/source/texk/dvipsk/pc/README.pc
deleted file mode 100644
index 3af7a60d267..00000000000
--- a/Build/source/texk/dvipsk/pc/README.pc
+++ /dev/null
@@ -1,152 +0,0 @@
-Some notes on installing dvips 5.5 on MS-DOS and OS/2
-by Russell Lang <rjl@monu1.cc.monash.edu.au> 17th February 1994
-
-These notes are not by Tomas Rokicki.
-Tomas Rokicki does not use MS-DOS ( smart person :-) and so will be
-unable to answer questions about MS-DOS problems.
-
-=========
-ZIP files
-=========
-If you have ZIP files, one should contain the sources of dvips
-(same as labrea.stanford.edu:pub/dvips55?.tar.Z) and the other
-should contain dvips ready to run with the following compiled
-versions of dvips:
- dvips.exe MS-DOS 8086
- dvipswin.exe MS-Windows 3.1
- dvips32.exe OS/2 32 bit or MS-DOS with EMX DOS extender
-The following may or may not be in the ZIP file.
- dvips16.exe OS/2 16 bit and MS-DOS (MSC6).
-
-To install this in the emTeX directories on drive C:, use
- unzip dvips55? c:\
-
-=======
-General
-=======
-If you want to use a different directory arrangement, modify the
-paths in c:\emtex\ps\config.ps. If you want to store config.ps or
-psfonts.map in a different place, either recompile dvips or use the
-environment variable TEXCONFIG.
-
-The LaTeX and TeX input files supplied with dvips (e.g. epsf.sty, epsf.tex)
-are now put in c:\emtex\texinput\dvips and not in their old location
-c:\emtex\texinput. This means that you need emTeX beta 11 and you will
-need to enable emTeX's subdirectory searching with
-set TEXINPUT=c:\emtex\texinput!
-
-The MSDOS and OS/2 versions of dvips differ from the Unix version
-described in dvips.tex in the following ways:
-- path separators are ';' not ':'
-- directory separators are '\' not '/'
-- The user's initialization file is "dvips.ini" not ".dvipsrc".
-- Printer configuration files are called <printer-name>.cfg,
- not config.<printer-name>.
-- Pipes to printers are not supported by MS-DOS. Output must go to a file.
- OS/2 supports pipes.
-- MakeTeXPk is a batch or command file.
- Since MS-DOS has insufficient memory to run both dvips and metafont
- at the same time, this batch or command file will typically write out
- a set of commands for running metafont later.
- The maketexp.bat supplied writes out an mfjob file for em\TeX.
- OS/2 has more memory so the maketexp.cmd supplied writes out an
- mfjob file for emTeX and calls mfjob.
- The emTeX betatest mfjob 1.1l package is required.
-- To automatically make fonts under MS-DOS, use emTeX's dvidrv as follows:
- dvidrv dvips file.dvi
- dvidrv is part of the emTeX betatest dvidrv 1.4s package.
- dvidrv sets an option -pj=mfjobfile for dvips, where mfjobfile
- is the name of a temporary mfjob file.
- If there are missing fonts, dvips will write this mfjob file
- and then ask:
- Exit to make missing fonts now (y/n)?
- If you answer yes, dvips exits with errorlevel 8 which tells
- dvidrv to call mfjob to make the fonts, and then to call dvips again.
- For this to work, dvidrv, dvips, mfjob and mf must be located in
- the PATH, and the environment variables for mfjob and mf set
- correctly. A font mode must be set with the 'M' option in config.ps.
- If the -pj option is set, dvips will not call MakeTeXPk.bat
-- limited emTeX specials. The following ones are supported:
- \special{em:message xxx}
- \special{em:point n}
- \special{em:line a[h|v|p],b[h|v|p] [,width]}
- \special{em:linewidth width}
- \special{em:moveto}
- \special{em:lineto}
- \special{em:graph xxx[,width[,height]]}
- The line cut parameters [h|v|p] of the \special{em:line ...} command
- are ignored. Lines are ended with a rounded cap.
- A maximum of 1613 different point numbers are permitted on each page.
- The \special{em:graph xxx} should work with PCX, MSP1, MSP2 and
- BMP files. Compressed BMP files have not been tested.
- The graph file may be scaled by giving an optional width and
- height (expressed in the same way as TeX dimensions).
- An example: \special{em:graph scrdump.pcx,100mm,75mm}
-
-The program dvips can use emTeX font libraries created with the
-fontlib /2 option. PXL fonts within font libraries will be ignored.
-
-If you run out of memory running dvips, try using the `-Z0 -a' or
-just the `-a' command line options. If that fails, use the 32 bit
-version.
-
-=====
-Files
-=====
-This set of MSDOS and OS/2 files for dvips contains:
-README.pc This file.
-makefile.tc Makefile for Borland C++ (MS-DOS).
-makefile.emx Makefile for nmake/ndmake and emx/gcc (OS/2 and MS-DOS).
-makefile.msc Makefile for dmake and MSC6 (OS/2).
-makefile.wat Makefile for Watcom C (untested)
-makefile.wt2 Makefile for Watcom C (untested)
-config.ps config.ps modified for MSDOS and OS/2
-maketexp.bat Batch file to make tex pk files.
-maketexp.cmd OS/2 batch file to make tex pk files.
-winmain.c WinMain() routine for Windows dvips.
-dvipswin.rc Windows Resource file containing radical eye icon.
-dvipswin.def Windows defaults file.
-afm2tfm.def OS/2 16 bit defaults file.
-dvips16.def OS/2 16 bit defaults file.
-squeeze.def OS/2 16 bit defaults file.
-
-=========
-Compiling
-=========
-If you have the Unix tar file, the steps involved in making
-dvips on a PC are:
-- On Unix, in the dvips directory, give the following commands:
- make texc.lpro
- nroff -man dvips.1 > pc/dvips.doc
- nroff -man afm2tfm.1 > pc/afm2tfm.doc
-- Copy dvips/* and dvips/pc/* directories to the PC.
-- copy PStfms/*.tfm to C:\EMTEX\TFM on the PC
- (then optionally delete pst*.tfm, rpst*.tfm, pop*.tfm rpop*.tfm,
- pad*.tfm rpad*.tfm)
-- copy PSvfs/*.vf to C:\TEXFONTS\VF on the PC
- (then optionally delete pst*.vf, pop*.vf, pad*.vf)
-- edit dvipsmac.tex and replace the line
- \generictrue
- with
- %\generictrue
-
-For Borland C++:
-- edit paths and directories in pc/makefile.tc and pc/config.ps.
-- 'make -fpc/makefile.tc'
- Borland C++ gives a large number of 'possible incorrect assignment'
- warnings.
-- if that works, try 'make -fpc/makefile.tc install'.
-- change to another directory (to avoid using the Unix config.ps)
- and then try to run dvips!
-
-For emx/gcc:
-- edit paths and directories in pc/makefile.emx and pc/config.ps.
-- If using HPFS, type 'nmake -fpc\makefile.emx fixup'
-- If using ndmake under msdos, PKPATH will need to be changed to
- using single % not %%.
-- 'nmake -f pc\makefile.emx'
-- if that works, try 'nmake -f pc\makefile.emx install'.
-- change to another directory (to avoid using the Unix config.ps)
- and then try to run dvips32!
-- dvips32.exe will run under OS/2 and MSDOS.
-- See the EMX documentation for the EMX DOS extender.
diff --git a/Build/source/texk/dvipsk/pc/afm2tfm.def b/Build/source/texk/dvipsk/pc/afm2tfm.def
deleted file mode 100644
index 6faa068fab3..00000000000
--- a/Build/source/texk/dvipsk/pc/afm2tfm.def
+++ /dev/null
@@ -1,3 +0,0 @@
-NAME afm2tfm WINDOWCOMPAT NEWFILES
-DESCRIPTION 'Adobe afm -> TeX tfm converter for OS/2 and DOS'
-STACKSIZE 0x2000
diff --git a/Build/source/texk/dvipsk/pc/config.ps b/Build/source/texk/dvipsk/pc/config.ps
deleted file mode 100644
index 4c1e85899dd..00000000000
--- a/Build/source/texk/dvipsk/pc/config.ps
+++ /dev/null
@@ -1,65 +0,0 @@
-* Claim 180kbytes memory
-m 180000
-* Default resolution.
-D 300
-* Default metafont mode (defined in emTeX's local.mf)
-M hplaser
-* Paths (uncomment and edit if you need these)
-*T c:\emtex\tfm
-*V c:\texfonts\vf
-*P c:\texfonts\pixel.lj\%ddpi\%f.%p
-*L c:\texfonts\;lj_0;lj_h;lj_1;lj_2;lj_3;lj_4;lj_5a;lj_5b;lj_sli
-*S .;c:\emtex\texinput
-*H .;c:\emtex\ps
-* Compress fonts
-Z
-*
-* Paper size information. First definition is the default.
-*
-* If your default is a4 uncomment the following definition
-* and comment out the letterSize definition.
-*@ a4size 210mm 297mm
-*@+ %%PaperSize: A4
-
-@ letterSize 8.5in 11in
-@+ %%PaperSize: Letter
-
-@ letter 8.5in 11in
-@+ %%BeginPaperSize: Letter
-@+ letter
-@+ %%EndPaperSize
-
-@ legal 8.5in 14in
-@+ ! %%DocumentPaperSizes: Legal
-@+ %%BeginPaperSize: Legal
-@+ legal
-@+ %%EndPaperSize
-
-@ ledger 17in 11in
-@+ ! %%DocumentPaperSizes: Ledger
-@+ %%BeginPaperSize: Ledger
-@+ ledger
-@+ %%EndPaperSize
-
-@ tabloid 11in 17in
-@+ ! %%DocumentPaperSizes: Tabloid
-@+ %%BeginPaperSize: Tabloid
-@+ 11x17
-@+ %%EndPaperSize
-
-@ a4 210mm 297mm
-@+ ! %%DocumentPaperSizes: A4
-@+ %%BeginPaperSize: A4
-@+ a4
-@+ %%EndPaperSize
-
-@ a3 297mm 420mm
-@+ ! %%DocumentPaperSizes: a3
-@+ %%BeginPaperSize: a3
-@+ a3
-@+ %%EndPaperSize
-
-@ unknown 0in 0in
-@+ statusdict /setpageparams known { hsize vsize 0 1 statusdict begin {
-@+ setpageparams } stopped end } { true } ifelse { statusdict /setpage known
-@+ { hsize vsize statusdict begin { setpage } stopped pop end } if } if
diff --git a/Build/source/texk/dvipsk/pc/dvips16.def b/Build/source/texk/dvipsk/pc/dvips16.def
deleted file mode 100644
index 071b556abaa..00000000000
--- a/Build/source/texk/dvipsk/pc/dvips16.def
+++ /dev/null
@@ -1,3 +0,0 @@
-NAME dvips WINDOWCOMPAT NEWFILES
-DESCRIPTION 'TeX DVI -> PostScript converter for OS/2 and DOS'
-STACKSIZE 0x2000
diff --git a/Build/source/texk/dvipsk/pc/dvipswin.def b/Build/source/texk/dvipsk/pc/dvipswin.def
deleted file mode 100644
index 527398b08ac..00000000000
--- a/Build/source/texk/dvipsk/pc/dvipswin.def
+++ /dev/null
@@ -1,6 +0,0 @@
-NAME dvips
-DESCRIPTION 'TeX DVI -> PostScript converter'
-EXETYPE WINDOWS
-CODE MOVEABLE NONDISCARDABLE PRELOAD
-DATA MULTIPLE MOVEABLE PRELOAD
-STACKSIZE 16384
diff --git a/Build/source/texk/dvipsk/pc/makefile.emx b/Build/source/texk/dvipsk/pc/makefile.emx
deleted file mode 100644
index 5cd9576a7cc..00000000000
--- a/Build/source/texk/dvipsk/pc/makefile.emx
+++ /dev/null
@@ -1,373 +0,0 @@
-#
-# Makefile for dvips. Edit this first part of the file.
-#
-# First, the things that absolutely must be edited for your system.
-
-# modified for EMX-0.8g/GCC with NMAKE on OS/2 2.1.
-# by rjl@monu1.cc.monash.edu.au
-# 17th February 1994
-
-# If using HPFS you may need to type 'nmake fixup' to truncate names.
-# If using NDMAKE 4.5 under MS-DOS, PKPATH needs %% changed to %.
-# If using Borland MAKER under MS-DOS, all paths need \\ changed to \\\\.
-
-# compiler
-EMXPATH = e:/emx
-CC = gcc
-
-# All DIRs must use a single \ as a directory separator.
-# All PATHs must use \\ as a directory separator
-DRIVE = c:
-TEXDIR = $(DRIVE)\emtex
-TEXPATH = $(DRIVE)\\emtex
-
-# the default path to search for TFM files
-# (this usually is identical to TeX's defaultfontpath, which omits `.')
-# (private fonts are given an explicit directory, which overrides the path)
-# TFMPATH = $(TEXPATH)\\tfm
-TFMPATH = $(TEXPATH)\\tfm
-
-# the default path to search for PK files (usually omits `.')
-# Don't forget to add the directory that
-# MakeTeXPK puts the files! (In this case, /LocalLibrary/Fonts...)
-# PKPATH = $(DRIVE)\\texfonts\\pixel.lj\\%ddpi\\%f.%p
-PKPATH = $(DRIVE)\\texfonts\\pixel.lj\\%%ddpi\\%%f.%%p
-
-# the default path to search for VF files (usually omits `.')
-# VFPATH = $(DRIVE)\\texfonts\\vf
-VFPATH = $(DRIVE)\\texfonts\\vf
-
-# additional directories in which to search for subdirectories to find
-# both tfm and pk files
-FONTSUBDIRPATH =
-
-# where the config files go
-# CONFIGDIR = $(TEXDIR)\ps
-CONFIGDIR = $(TEXDIR)\ps
-
-# the default path to search for config files
-# CONFIGPATH = .;$(TEXPATH)\\ps
-CONFIGPATH = .;$(TEXPATH)\\ps
-
-# the name of your config file
-# CONFIGFILE = config.ps
-CONFIGFILE = config.ps
-
-# where the header PS files go
-# HEADERDIR = $(TEXDIR)\ps
-HEADERDIR = $(TEXDIR)\ps
-
-# the default path to search for header files
-# HEADERPATH = .;$(TEXPATH)\\ps
-HEADERPATH = .;$(TEXPATH)\\ps
-
-# where epsf.tex and rotate.tex go (usually the TeX macros directory)
-# TEXMACRODIR = $(TEXDIR)\texinput
-TEXMACROPARENTDIR = $(TEXDIR)\texinput
-TEXMACRODIR = $(TEXDIR)\texinput\dvips
-
-# the default path to search for epsf and psfiles
-# (usually the same as TeX's defaultinputpath)
-# FIGPATH = .;..;$(TEXPATH)\\texinput
-FIGPATH = .;..;$(TEXPATH)\\texinput
-
-# the default path to search for emTeX font libraries
-# FLIPATH = $(DRIVE)\\texfonts
-FLIPATH = $(DRIVE)\\texfonts
-
-# the names of emTeX font libraries
-# FLINAME = lj_0;lj_h;lj_1;lj_2;lj_3;lj_4;lj_5a;lj_5b;lj_sli
-FLINAME = lj_0;lj_h;lj_1;lj_2;lj_3;lj_4;lj_5a;lj_5b;lj_sli
-
-# change -DDEFRES=300 or whatever is required
-# if the default resolution is not 300 dpi,
-# add -DDEBUG to turn on debugging capability
-# add -DTPIC for tpic support
-# add -DFONTLIB to search font libraries
-# add -DSEARCH_SUBDIRECTORIES to search the FONTSUBDIRPATH.
-# add -DHAVE_GETCWD if you have getcwd (relevant only for subdir searching)
-# add -DCREATIONDATE if your system has a working time() and you want dated files
-# If you define FONTLIB, make sure to also give definitions to
-# FLIPATH and FLINAME.
-#
-DEFS= -DTPIC -DDEBUG -DFONTLIB -DDEFRES=300
-
-OPT = -O -s
-
-LINKOPT = -lm
-
-# If you are compiling dvips for suid or other privileges, you will
-# definitely want to define the following symbol; else don't.
-# SECURE = -DSECURE
-SECURE =
-
-# If you want EMTEX specials, define the following.
-EMTEX = -DEMTEX
-
-# define the c-compiler flag
-# -DOS2 for OS/2 and MS-DOS with EMX extender
-SYS = -DOS2
-
-# where the installed binary goes
-# BINDIR = c:\emtex
-BINDIR = $(TEXDIR)
-
-# where the manual page goes
-# MANDIR = c:\emtex\doc
-MANDIR = $(TEXDIR)\doc
-
-#makefile.emx sets all paths in paths.rsp
-CFLAGS = $(OPT) $(SYS) $(SECURE) $(EMTEX) $(DEFS)
-
-SRC = dospecia.c dviinput.c fontdef.c loadfont.c dvips.c tfmload.c \
- download.c prescan.c scanpage.c skippage.c output.c scalewid.c \
- dosectio.c dopage.c resident.c search.c unpack.c drawPS.c \
- header.c makefont.c repack.c virtualf.c dpicheck.c finclude.c \
- pprescan.c papersiz.c flib.c color.c bbox.c emspecia.c
-
-OBJ = dospecia.o dviinput.o fontdef.o loadfont.o dvips.o \
- tfmload.o download.o prescan.o scanpage.o skippage.o \
- output.o scalewid.o dosectio.o dopage.o resident.o \
- search.o unpack.o drawPS.o header.o makefont.o repack.o \
- virtualf.o dpicheck.o finclude.o \
- pprescan.o papersiz.o flib.o color.o bbox.o emspecia.o
-
-all : afm2tfm.exe dvips32.exe tex.pro texps.pro texc.pro \
- special.pro finclude.pro color.pro crop.pro
-
-# default rules
-
-.SUFFIXES: .o .c
-
-.c.o:
- $(CC) -c $(CFLAGS) @paths.rsp $<
-
-dvips32.exe: $(OBJ) gcclink.rsp
- $(CC) -o dvips32 @gcclink.rsp $(LINKOPT)
- emxbind $(EMXPATH)/bin/emx.exe dvips32 dvips32.exe -p
-
-gcclink.rsp: pc/makefile.emx
- echo dospecia.o>gcclink.rsp
- echo dviinput.o>>gcclink.rsp
- echo fontdef.o>>gcclink.rsp
- echo loadfont.o>>gcclink.rsp
- echo dvips.o>>gcclink.rsp
- echo tfmload.o>>gcclink.rsp
- echo download.o>>gcclink.rsp
- echo prescan.o>>gcclink.rsp
- echo scanpage.o>>gcclink.rsp
- echo skippage.o>>gcclink.rsp
- echo output.o>>gcclink.rsp
- echo scalewid.o>>gcclink.rsp
- echo dosectio.o>>gcclink.rsp
- echo dopage.o>>gcclink.rsp
- echo resident.o>>gcclink.rsp
- echo search.o>>gcclink.rsp
- echo unpack.o>>gcclink.rsp
- echo drawPS.o>>gcclink.rsp
- echo header.o>>gcclink.rsp
- echo makefont.o>>gcclink.rsp
- echo repack.o>>gcclink.rsp
- echo virtualf.o>>gcclink.rsp
- echo dpicheck.o>>gcclink.rsp
- echo finclude.o>>gcclink.rsp
- echo pprescan.o>>gcclink.rsp
- echo papersiz.o>>gcclink.rsp
- echo flib.o>>gcclink.rsp
- echo color.o>>gcclink.rsp
- echo bbox.o>>gcclink.rsp
- echo emspecia.o>>gcclink.rsp
-
-afm2tfm.exe: afm2tfm.c paths.rsp
- $(CC) $(CFLAGS) @paths.rsp afm2tfm.c -o afm2tfm $(LINKOPT)
- emxbind $(EMXPATH)/bin/emx.exe afm2tfm afm2tfm.exe
-
-paths.rsp: pc\makefile.emx
- echo -I$(EMXPATH)/include> paths.rsp
- echo -L$(EMXPATH)/lib>> paths.rsp
- echo -funsigned-char>> paths.rsp
- echo -DCREATIONDATE>> paths.rsp
- echo -DTFMPATH="$(TFMPATH)">> paths.rsp
- echo -DPKPATH="$(PKPATH)">> paths.rsp
- echo -DVFPATH="$(VFPATH)">> paths.rsp
- echo -DHEADERPATH="$(HEADERPATH)">> paths.rsp
- echo -DCONFIGPATH="$(CONFIGPATH)">> paths.rsp
- echo -DCONFIGFILE="$(CONFIGFILE)">> paths.rsp
- echo -DFONTSUBDIRPATH="$(FONTSUBDIRPATH)">> paths.rsp
- echo -DFIGPATH="$(FIGPATH)">> paths.rsp
- echo -DFLIPATH="$(FLIPATH)">> paths.rsp
- echo -DFLINAME="$(FLINAME)">> paths.rsp
-
-$(OBJ) : dvips.h debug.h paths.h paths.rsp
-
-squeeze.exe : squeeze.c paths.rsp
- $(CC) $(CFLAGS) @paths.rsp squeeze.c -o squeeze
- emxbind $(EMXPATH)/bin/emx.exe squeeze squeeze.exe
-
-tex.pro : tex.lpr squeeze.exe
- squeeze tex.lpr tex.pro
-
-texc.pro: texc.lpr squeeze.exe
- squeeze texc.lpr texc.pro
-
-texc.lpr: tex.lpr
- @echo This does "texc.scr tex.lpro texc.lpro" on Unix
- @echo For MSDOS or OS/2, copy tex.lpro to texc.lpr
- @echo then edit texc.lpr to remove the code
- @echo for uncompressed fonts and uncomment the
- @echo code for unpacking compressed fonts
-
-
-texps.pro : texps.lpr squeeze.exe
- squeeze texps.lpr texps.pro
-
-special.pro : special.lpr squeeze.exe
- squeeze special.lpr special.pro
-
-finclude.pro: finclude.lpr squeeze.exe
- squeeze finclude.lpr finclude.pro
-
-color.pro: color.lpr squeeze.exe
- squeeze color.lpr color.pro
-
-crop.pro: crop.lpr squeeze.exe
- squeeze crop.lpr crop.pro
-
-install : afm2tfm.exe dvips32.exe pc/maketexp.bat pc/maketexp.cmd \
- tex.pro texc.pro texps.pro special.pro finclude.pro color.pro crop.pro \
- pc/config.ps psfonts.map epsf.tex epsf.sty rotate.tex rotate.sty \
- dvips.tex dvipsmac.tex colordvi.sty colordvi.tex blackdvi.sty \
- blackdvi.tex pc/dvips.doc pc/afm2tfm.doc
- -mkdir $(BINDIR)
- -mkdir $(HEADERDIR)
- -mkdir $(CONFIGDIR)
- -mkdir $(MANDIR)
- -mkdir $(TEXMACROPARENTDIR)
- -mkdir $(TEXMACRODIR)
- copy afm2tfm.exe $(BINDIR)\afm2tfm.exe
- copy dvips32.exe $(BINDIR)\dvips32.exe
- copy pc\maketexp.bat $(BINDIR)\maketexp.bat
- copy pc\maketexp.cmd $(BINDIR)\maketexp.cmd
- copy tex.pro $(HEADERDIR)
- copy texc.pro $(HEADERDIR)
- copy texps.pro $(HEADERDIR)
- copy special.pro $(HEADERDIR)
- copy finclude.pro $(HEADERDIR)
- copy color.pro $(HEADERDIR)
- copy crop.pro $(HEADERDIR)
- copy pc\config.ps $(CONFIGDIR)\$(CONFIGFILE)
- copy psfonts.map $(CONFIGDIR)
- copy epsf.tex $(TEXMACRODIR)
- copy epsf.sty $(TEXMACRODIR)
- copy rotate.tex $(TEXMACRODIR)
- copy rotate.sty $(TEXMACRODIR)
- copy colordvi.sty $(TEXMACRODIR)
- copy colordvi.tex $(TEXMACRODIR)
- copy blackdvi.sty $(TEXMACRODIR)
- copy blackdvi.tex $(TEXMACRODIR)
- copy dvips.tex $(TEXMACRODIR)
- copy dvipsmac.tex $(TEXMACRODIR)
- copy pc\dvips.doc $(MANDIR)
- copy pc\afm2tfm.doc $(MANDIR)
-
-veryclean :
- -del *.o
- -del dvips32.exe
- -del dvips32
- -del squeeze.exe
- -del squeeze
- -del afm2tfm.exe
- -del afm2tfm
- -del *.pro
- -del paths.rsp
- -del gcclink.rsp
-
-clean :
- -del *.o
- -del dvips32
- -del squeeze.exe
- -del squeeze
- -del afm2tfm
- -del paths.rsp
- -del gcclink.rsp
-
-
-# convert long names to 8.3 names
-fixup:
- -rename dosection.c dosectio.c
- -rename dospecial.c dospecia.c
- -rename emspecial.c emspecia.c
- -rename scalewidth.c scalewid.c
- -rename virtualfont.c virtualf.c
- -rename tex.lpro tex.lpr
- -rename texc.lpro texc.lpr
- -rename texps.lpro texps.lpr
- -rename special.lpro special.lpr
- -rename finclude.lpro finclude.lpr
- -rename color.lpro color.lpr
- -rename crop.lpro crop.lpr
- -rename ..\PSlatex\avantgarde.sty avantgar.sty
-
-# convert short 8.3 names to original long names
-long:
- -rename dosectio.c dosection.c
- -rename dospecia.c dospecial.c
- -rename emspecia.c emspecia..c
- -rename scalewid.c scalewidth.c
- -rename virtualf.c virtualfont.c
- -rename tex.lpr tex.lpro
- -rename texc.lpr texc.lpro
- -rename texps.lpr texps.lpro
- -rename special.lpr special.lpro
- -rename finclude.lpr finclude.lpro
- -rename color.lpr color.lpro
- -rename crop.lpr crop.lpro
- -rename installa INSTALLATION
- -rename maketexp MakeTeXPK
- -rename config.lin config.lino
- -rename config.pos config.post3x3
- -rename rotsampl.tex rotsample.tex
- -rename ..\PSlatex\avantgar.sty avantgarde.sty
-
-# used for creating zip file
-zip:
- copy ..\PSlatex\*.* $(TEXMACRODIR)
- -mkdir $(TEXDIR)\tfm
- copy ..\PStfms\*.* $(TEXDIR)\tfm
- -mkdir $(DRIVE)\texfonts
- -mkdir $(DRIVE)\texfonts\vf
- copy ..\PSvfs\*.* $(DRIVE)\texfonts\vf
- copy pc\README.pc $(DRIVE)\
- $(DRIVE)
- cd \
- dir /f /s /l emtex > emtex.lst
- dir /f /s /l texfonts >> emtex.lst
- remove -w emtex\remove\dvips.rem emtex.lst
- -del dvipsexe.zip
- zip -r dvipsexe README.pc emtex texfonts
-
-# used for converting Unix EOL to OS/2 EOL
-# when dvips.tar has been extracted under OS/2.
-eol:
- -flip -m *.*
- cd contrib
- -flip -m *.*
- cd bbfig
- -flip -m *.*
- cd ..\psfig
- -flip -m *.*
- cd ..\psfntmac
- -flip -m *.*
- cd ..\pspic
- -flip -m *.*
- cd ..\..\mvs
- -flip -m *.*
- cd ..\pc
- -flip -m *.*
- cd ..\reencode
- -flip -m *.*
- cd ..\vmcms
- -flip -m *.*
- cd ..\vms
- -flip -m *.*
- cd ..
diff --git a/Build/source/texk/dvipsk/pc/makefile.msc b/Build/source/texk/dvipsk/pc/makefile.msc
deleted file mode 100644
index 4b04d166233..00000000000
--- a/Build/source/texk/dvipsk/pc/makefile.msc
+++ /dev/null
@@ -1,313 +0,0 @@
-#
-# Makefile for dvips. Edit this first part of the file.
-#
-# First, the things that absolutely must be edited for your system.
-
-# modified for MSC 6.00A with dmake on OS/2.
-# by hankedr@mail.auburn.edu
-# 17th February 1994
-# from makefile.emx
-# by rjl@monu1.cc.monash.edu.au
-
-# If using HPFS you may need to type 'nmake fixup' to truncate names.
-# If using NDMAKE 4.5 under MS-DOS, PKPATH needs %% changed to %.
-# If using Borland MAKER under MS-DOS, all paths need \\ changed to \\\\.
-
-# compiler
-CC = cl -nologo -AL
-
-# Define BIND to create bound OS/2 and DOS executables
-BIND= bind $@ /n DOSMAKEPIPE DOSCWAIT
-
-# Utility programs for "make install"
-CP = cp
-RM = rm
-
-# All DIRs must use a single \ as a directory separator.
-# All PATHs must use \\ as a directory separator
-DRIVE = c:
-TEXDIR = $(DRIVE)\emtex
-TEXPATH = $(DRIVE)\\emtex
-
-
-# the default path to search for TFM files
-# (this usually is identical to TeX's defaultfontpath, which omits `.')
-# (private fonts are given an explicit directory, which overrides the path)
-# TFMPATH = c:\\emtex\\tfm
-TFMPATH = $(TEXPATH)\\tfm
-
-# the default path to search for PK files (usually omits `.')
-# Don't forget to add the directory that
-# MakeTeXPK puts the files! (In this case, /LocalLibrary/Fonts...)
-# PKPATH = c:\\texfonts\\pixel.lj\\%ddpi\\%f.%p
-#PKPATH = $(DRIVE)\\texfonts\\pixel.lj\\%ddpi\\%f.%p
-PKPATH = $(DRIVE)\\texfonts\\pixel.lj\\%%ddpi\\%%f.%%p
-
-# the default path to search for VF files (usually omits `.')
-# VFPATH = c:\\texfonts\\vf
-VFPATH = $(DRIVE)\\texfonts\\vf
-
-# additional directories in which to search for subdirectories to find
-# both tfm and pk files
-FONTSUBDIRPATH =
-
-# where the config files go
-# CONFIGDIR = c:\emtex\ps
-CONFIGDIR = $(TEXDIR)\ps
-
-# the default path to search for config files
-# CONFIGPATH = .;c:\\emtex\\ps
-CONFIGPATH = .;$(TEXPATH)\\ps
-
-# the name of your config file
-# CONFIGFILE = config.ps
-CONFIGFILE = config.ps
-
-# where the header PS files go
-# HEADERDIR = c:\emtex\ps
-HEADERDIR = $(TEXDIR)\ps
-
-# the default path to search for header files
-# HEADERPATH = .;c:\\emtex\\ps
-HEADERPATH = .;$(TEXPATH)\\ps
-
-# where epsf.tex and rotate.tex go (usually the TeX macros directory)
-# TEXMACRODIR = c:\emtex\texinput
-TEXMACROPARENTDIR = $(TEXDIR)\texinput
-TEXMACRODIR = $(TEXDIR)\texinput\dvips
-
-# the default path to search for epsf and psfiles
-# (usually the same as TeX's defaultinputpath)
-# FIGPATH = .;..;c:\\emtex\\texinput
-FIGPATH = .;..;$(TEXPATH)\\texinput
-
-# the default path to search for emTeX font libraries
-# FLIPATH = c:\\texfonts
-FLIPATH = c:\\texfonts
-
-# the names of emTeX font libraries
-# FLINAME = lj_0;lj_h;lj_1;lj_2;lj_3;lj_4;lj_5a;lj_5b;lj_sli
-FLINAME = lj_0;lj_h;lj_1;lj_2;lj_3;lj_4;lj_5a;lj_5b;lj_sli
-
-# change -DDEFRES=300 or whatever is required
-# if the default resolution is not 300 dpi,
-# add -DDEBUG to turn on debugging capability
-# add -DTPIC for tpic support
-# add -DFONTLIB to search font libraries
-# add -DSEARCH_SUBDIRECTORIES to search the FONTSUBDIRPATH.
-# add -DHAVE_GETCWD if you have getcwd (relevant only for subdir searching)
-# add -DCREATIONDATE if your system has a working time() and you want dated files
-# If you define FONTLIB, make sure to also give definitions to
-# FLIPATH and FLINAME.
-#
-DEFS= -DTPIC -DDEBUG -DFONTLIB -DDEFRES=300 -DHAVE_GETCWD
-
-# OPT = -J -W2 -Zi
-OPT = -J
-
-# LFLAGS = -Lp -Zi -Od
-LFLAGS = -Lp setargv$O -link /NOE
-
-# If you are compiling dvips for suid or other privileges, you will
-# definitely want to define the following symbol; else don't.
-# SECURE = -DSECURE
-SECURE =
-
-# If you want EMTEX specials, define the following.
-EMTEX = -DEMTEX
-
-# define the c-compiler flag
-# -DOS2 for OS/2 and MS-DOS with EMX extender or MSC
-SYS = -DOS2 -UMSDOS
-
-# where the installed binary goes
-# BINDIR = c:\emtex
-BINDIR = $(TEXDIR)
-
-# where the manual page goes
-# MANDIR = c:\emtex\doc
-MANDIR = $(TEXDIR)\doc
-
-PATHS = -DCREATIONDATE \
- -DTFMPATH=\"$(TFMPATH)\" \
- -DPKPATH=\"$(PKPATH)\" \
- -DVFPATH=\"$(VFPATH)\" \
- -DHEADERPATH=\"$(HEADERPATH)\" \
- -DCONFIGPATH=\"$(CONFIGPATH)\" \
- -DCONFIGFILE=\"$(CONFIGFILE)\" \
- -DFONTSUBDIRPATH=\"$(FONTSUBDIRPATH)\" \
- -DFIGPATH=\"$(FIGPATH)\" \
- -DFLIPATH=\"$(FLIPATH)\" \
- -DFLINAME=\"$(FLINAME)\"
-
-CFLAGS = $(OPT) $(SYS) $(SECURE) $(EMTEX) $(DEFS)
-
-SRC = dospecia.c dviinput.c fontdef.c loadfont.c dvips.c tfmload.c \
- download.c prescan.c scanpage.c skippage.c output.c scalewid.c \
- dosectio.c dopage.c resident.c search.c unpack.c drawPS.c \
- header.c makefont.c repack.c virtualf.c dpicheck.c finclude.c \
- pprescan.c papersiz.c flib.c color.c bbox.c emspecia.c
-
-OBJ = dospecia$O dviinput$O fontdef$O loadfont$O dvips$O \
- tfmload$O download$O prescan$O scanpage$O skippage$O \
- output$O scalewid$O dosectio$O dopage$O resident$O \
- search$O unpack$O drawPS$O header$O makefont$O repack$O \
- virtualf$O dpicheck$O finclude$O \
- pprescan$O papersiz$O flib$O color$O bbox$O emspecia$O
-
-all : afm2tfm.exe dvips16.exe tex.pro texps.pro texc.pro \
- special.pro finclude.pro color.pro crop.pro
-
-# default rules
-
-O = .obj
-
-.SUFFIXES: $O .c
-
-.c$O:
- $(CC) -c $(CFLAGS) $(PATHS) $<
-
-dvips16.exe: $(OBJ)
- $(CC) -o $@ $(OBJ) pc\dvips16.def $(LFLAGS)
- $(BIND)
-
-
-# The following may be useful in adapting this makefile to DOS
-# LINK = link
-# LINKOPT = /NOE /NOD:llibce.lib llibcep.lib, pc\dvips16.def
-#
-# link.rsp: pc/makefile.msc
-# echo dospecia$O + > link.rsp
-# echo dviinput$O + >>link.rsp
-# echo fontdef$O + >>link.rsp
-# echo loadfont$O + >>link.rsp
-# echo dvips$O + >>link.rsp
-# echo tfmload$O + >>link.rsp
-# echo download$O + >>link.rsp
-# echo prescan$O + >>link.rsp
-# echo scanpage$O + >>link.rsp
-# echo skippage$O + >>link.rsp
-# echo output$O + >>link.rsp
-# echo scalewid$O + >>link.rsp
-# echo dosectio$O + >>link.rsp
-# echo dopage$O + >>link.rsp
-# echo resident$O + >>link.rsp
-# echo search$O + >>link.rsp
-# echo unpack$O + >>link.rsp
-# echo drawPS$O + >>link.rsp
-# echo header$O + >>link.rsp
-# echo makefont$O + >>link.rsp
-# echo repack$O + >>link.rsp
-# echo virtualf$O + >>link.rsp
-# echo dpicheck$O + >>link.rsp
-# echo finclude$O + >>link.rsp
-# echo pprescan$O + >>link.rsp
-# echo papersiz$O + >>link.rsp
-# echo flib$O + >>link.rsp
-# echo color$O + >>link.rsp
-# echo bbox$O + >>link.rsp
-# echo emspecia$O + >>link.rsp
-# echo setargv$O, dvips16.exe,, + >>link.rsp
-# echo $(LINKOPT) >>link.rsp
-
-afm2tfm.exe: afm2tfm.c
- $(CC) $(CFLAGS) afm2tfm.c -o $@ pc\afm2tfm.def $(LFLAGS)
- $(BIND)
-
-$(OBJ) : dvips.h debug.h paths.h
-
-squeeze.exe : squeeze.c
- $(CC) $(CFLAGS) squeeze.c -o $@ pc\squeeze.def $(LFLAGS)
- $(BIND)
-
-tex.pro : tex.lpr squeeze.exe
- squeeze tex.lpr tex.pro
-
-texc.pro: texc.lpr squeeze.exe
- squeeze texc.lpr texc.pro
-
-texc.lpr: tex.lpr
- @echo This does "texc.scr tex.lpro texc.lpro" on Unix
- @echo For MSDOS or OS/2, copy tex.lpro to texc.lpr
- @echo then edit texc.lpr to remove the code
- @echo for uncompressed fonts and uncomment the
- @echo code for unpacking compressed fonts
-
-
-texps.pro : texps.lpr squeeze.exe
- squeeze texps.lpr texps.pro
-
-special.pro : special.lpr squeeze.exe
- squeeze special.lpr special.pro
-
-finclude.pro: finclude.lpr squeeze.exe
- squeeze finclude.lpr finclude.pro
-
-color.pro: color.lpr squeeze.exe
- squeeze color.lpr color.pro
-
-crop.pro: crop.lpr squeeze.exe
- squeeze crop.lpr crop.pro
-
-install : afm2tfm.exe dvips16.exe pc/maketexp.bat pc/maketexp.cmd \
- tex.pro texc.pro texps.pro special.pro finclude.pro color.pro crop.pro \
- pc/config.ps psfonts.map epsf.tex epsf.sty rotate.tex rotate.sty \
- dvips.tex dvipsmac.tex colordvi.sty colordvi.tex blackdvi.sty \
- blackdvi.tex pc/dvips.doc pc/afm2tfm.doc
- -mkdir $(BINDIR)
- -mkdir $(HEADERDIR)
- -mkdir $(CONFIGDIR)
- -mkdir $(MANDIR)
- -mkdir $(TEXMACROPARENTDIR)
- -mkdir $(TEXMACRODIR)
- $(CP) afm2tfm.exe $(BINDIR)\afm2tfm.exe
- $(CP) dvips16.exe $(BINDIR)\dvips16.exe
- $(CP) pc\maketexp.bat $(BINDIR)\maketexp.bat
- $(CP) pc\maketexp.cmd $(BINDIR)\maketexp.cmd
- $(CP) tex.pro $(HEADERDIR)
- $(CP) texc.pro $(HEADERDIR)
- $(CP) texps.pro $(HEADERDIR)
- $(CP) special.pro $(HEADERDIR)
- $(CP) finclude.pro $(HEADERDIR)
- $(CP) color.pro $(HEADERDIR)
- $(CP) crop.pro $(HEADERDIR)
- $(CP) pc\config.ps $(CONFIGDIR)\$(CONFIGFILE)
- $(CP) psfonts.map $(CONFIGDIR)
- $(CP) epsf.tex $(TEXMACRODIR)
- $(CP) epsf.sty $(TEXMACRODIR)
- $(CP) rotate.tex $(TEXMACRODIR)
- $(CP) rotate.sty $(TEXMACRODIR)
- $(CP) colordvi.sty $(TEXMACRODIR)
- $(CP) colordvi.tex $(TEXMACRODIR)
- $(CP) blackdvi.sty $(TEXMACRODIR)
- $(CP) blackdvi.tex $(TEXMACRODIR)
- $(CP) dvips.tex $(TEXMACRODIR)
- $(CP) dvipsmac.tex $(TEXMACRODIR)
- $(CP) pc\dvips.doc $(MANDIR)
- $(CP) pc\afm2tfm.doc $(MANDIR)
-
-veryclean :
- -$(RM) *.obj
- -$(RM) dvips16.exe
- -$(RM) squeeze.exe
- -$(RM) afm2tfm.exe
- -$(RM) *.pro
-
-clean :
- -$(RM) *.obj
- -$(RM) squeeze.exe
-
-
-fixup:
- -rename dosection.c dosectio.c
- -rename dospecial.c dospecia.c
- -rename emspecial.c emspecia.c
- -rename scalewidth.c scalewid.c
- -rename virtualfont.c virtualf.c
- -rename tex.lpro tex.lpr
- -rename texc.lpro texc.lpr
- -rename texps.lpro texps.lpr
- -rename special.lpro special.lpr
- -rename finclude.lpro finclude.lpr
- -rename color.lpro color.lpr
- -rename crop.lpro crop.lpr
diff --git a/Build/source/texk/dvipsk/pc/makefile.tc b/Build/source/texk/dvipsk/pc/makefile.tc
deleted file mode 100644
index df0051e0055..00000000000
--- a/Build/source/texk/dvipsk/pc/makefile.tc
+++ /dev/null
@@ -1,282 +0,0 @@
-#
-# Makefile for dvips. Edit this first part of the file.
-#
-# First, the things that absolutely must be edited for your system.
-
-# modified for Borland C 3.1 on MS-DOS by rjl@monu1.cc.monash.edu.au
-# 17th February 1994
-
-# compiler directory
-CCDIR = c:\borlandc
-# compiler and linker
-CC = $(CCDIR)\bin\bcc
-LINK = $(CCDIR)\bin\tlink
-INCLUDE = $(CCDIR)\include
-LIB =$(CCDIR)\lib
-# For Windows application WIN = win
-# Note that printf("%f",d) didn't work on Windows 3.0, BCC 3.0, 286 & 287
-# and is fixed in BCC 3.1.
-#WIN = win
-
-
-# All DIRs must use a single \ as a directory separator.
-# All PATHs must use \\\\ as a directory separator and must use \; not ;
-DRIVE = c:
-TEXDIR = $(DRIVE)\emtex
-TEXPATH = $(DRIVE)\\\\emtex
-
-# the default path to search for TFM files
-# (this usually is identical to TeX's defaultfontpath, which omits `.')
-# (private fonts are given an explicit directory, which overrides the path)
-# TFMPATH = c:\\\\emtex\\\\tfm
-TFMPATH = $(TEXPATH)\\\\tfm
-
-# the default path to search for PK files (usually omits `.')
-# Don't forget to add the directory that
-# MakeTeXPK puts the files! (In this case, /LocalLibrary/Fonts...)
-# PKPATH = c:\\\\texfonts\\\\pixel.lj\\\\%ddpi\\\\%f.%p
-PKPATH = $(TEXPATH)\\\\pixel.lj\\\\%ddpi\\\\%f.%p
-
-# the default path to search for VF files (usually omits `.')
-# VFPATH = c:\\\\texfonts\\\\vf
-VFPATH = $(TEXPATH)\\\\vf
-
-# additional directories in which to search for subdirectories to find
-# both tfm and pk files
-FONTSUBDIRPATH =
-
-# where the config files go
-# CONFIGDIR = c:\emtex\ps
-CONFIGDIR = $(TEXDIR)\ps
-
-# the default path to search for config files
-# CONFIGPATH = .\;c:\\\\emtex\\\\ps
-CONFIGPATH = .\;$(TEXPATH)\\\\ps
-
-# the name of your config file
-# CONFIGFILE = config.ps
-CONFIGFILE = config.ps
-
-# where the header PS files go
-# HEADERDIR = c:\emtex\ps
-HEADERDIR = $(TEXDIR)\ps
-
-# the default path to search for header files
-# HEADERPATH = .\;c:\\\\emtex\\\\ps
-HEADERPATH = .\;$(TEXPATH)\\\\ps
-
-# where epsf.tex and rotate.tex go (usually the TeX macros directory)
-# TEXMACRODIR = c:\emtex\texinput
-TEXMACROPARENTDIR = $(TEXDIR)\texinput
-TEXMACRODIR = $(TEXDIR)\texinput\dvips
-
-# the default path to search for epsf and psfiles
-# (usually the same as TeX's defaultinputpath)
-# FIGPATH = .\;..\;c:\\\\emtex\\\\texinput
-FIGPATH = .\;..\;$(TEXPATH)\\\\texinput
-
-# the default path to search for emTeX font libraries
-# FLIPATH = c:\\\\texfonts
-FLIPATH = $(DRIVE)\\\\texfonts
-
-# the names of emTeX font libraries
-# FLINAME = lj_0\;lj_h\;lj_1\;lj_2\;lj_3\;lj_4\;lj_5a\;lj_5b\;lj_sli
-FLINAME = lj_0\;lj_h\;lj_1\;lj_2\;lj_3\;lj_4\;lj_5a\;lj_5b\;lj_sli
-
-# change -DDEFRES=300 or whatever is required
-# if the default resolution is not 300 dpi,
-# add -DDEBUG to turn on debugging capability
-# add -DTPIC for tpic support
-# add -DFONTLIB to search font libraries
-# add -DSEARCH_SUBDIRECTORIES to search the FONTSUBDIRPATH.
-# add -DHAVE_GETCWD if you have getcwd (relevant only for subdir searching)
-# add -DCREATIONDATE if your system has a working time() and you want dated files
-# If you define FONTLIB, make sure to also give definitions to
-# FLIPATH and FLINAME.
-#
-DEFS= -DTPIC -DDEBUG -DDEFRES=300 -DFONTLIB -DHAVE_GETCWD -DCREATIONDATE
-
-# these options to produce debug map
-OPT = -M -y -v
-#OPT =
-
-LINKOPT = /l /m /s /v /c
-#LINKOPT = /c /x
-
-# If you are compiling dvips for suid or other privileges, you will
-# definitely want to define the following symbol; else don't.
-# SECURE = -DSECURE
-
-# If you want EMTEX specials, define the following.
-EMTEX = -DEMTEX
-
-# for SYSV (and friends which use <string.h> instead of <strings.h>)
-# define the c-compiler flag
-# -DMSDOS for MS-DOS systems
-SYS = -DMSDOS
-
-# where the installed binary goes
-# BINDIR = c:\emtex
-BINDIR = $(DRIVE)\emtex
-
-# where the manual page goes
-# MANDIR = c:\emtex\doc
-MANDIR = $(DRIVE)\emtex\doc
-
-#MSDOS sets all paths in turboc.cfg
-CFLAGS = $(DEFS) $(OPT) $(SYS) $(SECURE) $(EMTEX) $(DEFPFMT)
-
-SRC = dospecial.c dviinput.c fontdef.c loadfont.c dvips.c tfmload.c \
- download.c prescan.c scanpage.c skippage.c output.c scalewidth.c \
- dosection.c dopage.c resident.c search.c unpack.c drawPS.c \
- header.c makefont.c repack.c virtualfont.c dpicheck.c finclude.c \
- pprescan.c papersiz.c flib.c color.c bbox.c emspecial.c
-
-OBJ = dospecial.obj dviinput.obj fontdef.obj loadfont.obj dvips.obj \
- tfmload.obj download.obj prescan.obj scanpage.obj skippage.obj \
- output.obj scalewidth.obj dosection.obj dopage.obj resident.obj \
- search.obj unpack.obj drawPS.obj header.obj makefont.obj repack.obj \
- virtualfont.obj dpicheck.obj finclude.obj papersiz.obj flib.obj \
- pprescan.obj color.obj bbox.obj emspecial.obj
-
-all : afm2tfm.exe dvips$(WIN).exe tex.pro texps.pro texc.pro special.pro \
- finclude.pro color.pro crop.pro
-
-# default rules
-
-.c.obj:
-!if $d(WIN)
- $(CC) -c -ml -w-pro -W { $< }
-!else
- $(CC) -c -f -ml -w-pro { $< }
-!endif
-
-dvips.exe : $(OBJ)
- $(LINK) $(LINKOPT) @&&!
-$(LIB)\C0l +
-$(OBJ) +
-,dvips ,dvips, +
-$(LIB)\emu +
-$(LIB)\mathl +
-$(LIB)\cl
-!
-
-winmain.obj: pc\winmain.c
- $(CC) -c -ml -w-pro -W -owinmain.obj pc\winmain.c
-
-dvipswin.exe : $(OBJ) winmain.obj pc\dvipswin.rc pc\dvipswin.def
- $(LINK) /Twe $(LINKOPT) @&&!
-$(LIB)\C0wl +
-winmain.obj +
-$(OBJ) +
-,dvipswin ,dvipswin, +
-$(LIB)\mathwl +
-$(LIB)\import +
-$(LIB)\cwl, +
-pc\dvipswin.def
-!
- $(CCDIR)\bin\brc -30 -i$(INCLUDE) pc\dvipswin.rc dvipswin.exe
-
-afm2tfm.exe: afm2tfm.c turboc.cfg
- $(CC) -mc -w-pro -w-pia afm2tfm.c
-
-turboc.cfg: pc\makefile.tc
- echo -I$(INCLUDE) > turboc.cfg
- echo -L$(LIB) >> turboc.cfg
- echo $(CFLAGS) >> turboc.cfg
- echo -DTFMPATH="$(TFMPATH)" >> turboc.cfg
- echo -DPKPATH="$(PKPATH)" >> turboc.cfg
- echo -DVFPATH="$(VFPATH)" >> turboc.cfg
- echo -DHEADERPATH="$(HEADERPATH)" >> turboc.cfg
- echo -DCONFIGPATH="$(CONFIGPATH)" >> turboc.cfg
- echo -DCONFIGFILE="$(CONFIGFILE)" >> turboc.cfg
- echo -DFONTSUBDIRPATH="$(FONTSUBDIRPATH)" >> turboc.cfg
- echo -DFIGPATH="$(FIGPATH)" >> turboc.cfg
- echo -DFLIPATH="$(FLIPATH)" >> turboc.cfg
- echo -DFLINAME="$(FLINAME)" >> turboc.cfg
-
-$(OBJ) : dvips.h debug.h paths.h turboc.cfg
-
-squeeze.exe : squeeze.c turboc.cfg
- $(CC) -mc -w-pro squeeze.c
-
-tex.pro : tex.lpr squeeze.exe
- squeeze tex.lpro tex.pro
-
-texc.pro: texc.lpr squeeze.exe
- squeeze texc.lpro texc.pro
-
-texc.lpr: tex.lpr
- @echo This does "texc.scr tex.lpr texc.lpr" on Unix
- @echo For MSDOS, copy tex.lpr to texc.lpr
- @echo then edit texc.lpr to remove the code
- @echo for uncompressed fonts, and uncomment the
- @echo code for unpacking compressed fonts
-
-texps.pro : texps.lpr squeeze.exe
- squeeze texps.lpro texps.pro
-
-special.pro : special.lpr squeeze.exe
- squeeze special.lpr special.pro
-
-finclude.pro: finclude.lpr squeeze.exe
- squeeze finclude.lpr finclude.pro
-
-color.pro: color.lpr squeeze.exe
- squeeze color.lpr color.pro
-
-crop.pro: crop.lpr squeeze.exe
- squeeze crop.lpr crop.pro
-
-install : afm2tfm.exe dvips$(WIN).exe pc/maketexp.bat \
- tex.pro texc.pro texps.pro special.pro finclude.pro color.pro crop.pro \
- pc/config.ps psfonts.map epsf.tex epsf.sty rotate.tex rotate.sty \
- dvips.tex dvipsmac.tex colordvi.sty colordvi.tex blackdvi.sty \
- blackdvi.tex pc/dvips.doc pc/afm2tfm.doc
- mkdir $(BINDIR)
- mkdir $(HEADERDIR)
- mkdir $(CONFIGDIR)
- mkdir $(MANDIR)
- mkdir $(TEXMACROPARENTDIR)
- mkdir $(TEXMACRODIR)
- copy afm2tfm.exe $(BINDIR)\afm2tfm.exe
- copy dvips$(WIN).exe $(BINDIR)\dvips$(WIN).exe
- copy pc\maketexp.bat $(BINDIR)\maketexp.bat
- copy tex.pro $(HEADERDIR)
- copy texc.pro $(HEADERDIR)
- copy texps.pro $(HEADERDIR)
- copy special.pro $(HEADERDIR)
- copy finclude.pro $(HEADERDIR)
- copy color.pro $(HEADERDIR)
- copy crop.pro $(HEADERDIR)
- copy pc\config.ps $(CONFIGDIR)\$(CONFIGFILE)
- copy psfonts.map $(CONFIGDIR)
- copy epsf.tex $(TEXMACRODIR)
- copy epsf.sty $(TEXMACRODIR)
- copy rotate.tex $(TEXMACRODIR)
- copy rotate.sty $(TEXMACRODIR)
- copy colordvi.sty $(TEXMACRODIR)
- copy colordvi.tex $(TEXMACRODIR)
- copy blackdvi.sty $(TEXMACRODIR)
- copy blackdvi.tex $(TEXMACRODIR)
- copy dvips.tex $(TEXMACRODIR)
- copy dvipsmac.tex $(TEXMACRODIR)
- copy pc\dvips.doc $(MANDIR)
- copy pc\afm2tfm.doc $(MANDIR)
-
-
-veryclean : clean
- del dvips.exe
- del dvipswin.exe
- del afm2tfm.exe
- del *.pro
- del turboc.cfg
-
-clean :
- del *.obj
- del squeeze.exe
- del afm2tfm.map
- del dvips.map
- del dvipswin.map
- del squeeze.map
- del turboc.cfg
diff --git a/Build/source/texk/dvipsk/pc/makefile.wat b/Build/source/texk/dvipsk/pc/makefile.wat
deleted file mode 100644
index 15a35f50970..00000000000
--- a/Build/source/texk/dvipsk/pc/makefile.wat
+++ /dev/null
@@ -1,310 +0,0 @@
-#
-# Makefile for dvips. Edit this first part of the file.
-#
-# First, the things that absolutely must be edited for your system.
-
-# modified for Borland MAKE 3.0 and Watcom 386 9.01 on MS-DOS
-# by js@rphnw3.ngate.uni-regensburg.de
-# 18th November 1992
-# This version of dvips HAS NOT BEEN THOROUGHLY TESTED
-
-# All DIRs must use \\ as a directory separator.
-# All PATHs must use \\\\ as a directory separator
-
-# the default path to search for TFM files
-# (this usually is identical to TeX's defaultfontpath, which omits `.')
-# (private fonts are given an explicit directory, which overrides the path)
-# overridden by the environment variable TEXFONTS
-# TFMPATH = c:\\emtex\\tfm
-TFMPATH = c:\\\\emtex\\\\tfm
-
-# the default path to search for PK files (usually omits `.')
-# Don't forget to add the directory that
-# MakeTeXPK puts the files! (In this case, /LocalLibrary/Fonts...)
-# overridden by the environment variable TEXPKS or TEXPACKED or PKFONTS
-# PKPATH = c:\\texfonts\\pixel.lj\\%ddpi\\%f.%p
-PKPATH = c:\\\\texfonts\\\\pixel.lj\\\\%ddpi\\\\%f.%p
-
-# the default path to search for VF files (usually omits `.')
-# overridden by the environment variable VFFONTS
-# VFPATH = c:\\texfonts\\vf
-VFPATH = c:\\\\emtex\\\\vf
-
-# additional directories in which to search for subdirectories to find
-# both tfm and pk files
-FONTSUBDIRPATH =
-
-# where the config files go
-# CONFIGDIR = c:\emtex\ps
-CONFIGDIR = c:\\emtex\\ps
-
-# the default path to search for config files
-# overridden by the environment variable TEXCONFIG
-# CONFIGPATH = .;c:\\emtex\\ps
-CONFIGPATH = .;c:\\\\emtex\\\\ps
-
-# the name of your config file
-# CONFIGFILE = config.ps
-CONFIGFILE = config.ps
-
-# where the header PS files go
-# HEADERDIR = c:\emtex\ps
-HEADERDIR = c:\\emtex\\ps
-
-# the default path to search for header files
-# HEADERPATH = .;c:\\emtex\\ps
-HEADERPATH = .;c:\\\\emtex\\\\ps
-
-# where epsf.tex and rotate.tex go (usually the TeX macros directory)
-# TEXMACRODIR = c:\emtex\texinput
-TEXMACROPARENTDIR = c:\\emtex\\texinput
-TEXMACRODIR = c:\\emtex\\texinput\\dvips
-
-# the default path to search for epsf and psfiles
-# (usually the same as TeX's defaultinputpath)
-# FIGPATH = .;..;c:\\emtex\\texinput
-FIGPATH = .;..;c:\\\\emtex\\\\texinput
-
-# the default path to search for emTeX font libraries
-# FLIPATH = c:\\texfonts
-FLIPATH = c:\\\\texfonts
-
-# the names of emTeX font libraries
-# FLINAME = lj_0;lj_h;lj_1;lj_2;lj_3;lj_4;lj_5a;lj_5b;lj_sli
-FLINAME = lj_0;lj_h;lj_1;lj_2;lj_3;lj_4;lj_5;lj_sli
-
-# change -DDEFRES=300 or whatever is required
-# if the default resolution is not 300 dpi,
-# add -DDEBUG to turn on debugging capability
-# add -DTPIC for tpic support
-# add -DFONTLIB to search font libraries
-# add -DSEARCH_SUBDIRECTORIES to search the FONTSUBDIRPATH.
-# add -DHAVE_GETCWD if you have getcwd (relevant only for subdir searching)
-# add -DIBM6000 for compiling on IBM 6000 systems
-# add -DCREATIONDATE if your system has a working time() and you want dated files
-# (for VM/CMS, see the MKDVIPS.EXEC file in the vmcms subdirectory).
-#
-# If you define FONTLIB, make sure to also give definitions to
-# FLIPATH and FLINAME.
-#
-DEFS= -DTPIC -DDEBUG -DDEFRES=300 -DFONTLIB -DHAVE_GETCWD
-
-# your compiler
-CC = wcl386
-
-# either use
-# OPT = -g -Wall -funsigned-char
-# or
-# OPT = -O -s -Wall -funsigned-char
-OPT = /fpi/om/ox/p
-
-# libraries to include (-lm -lc on most systems)
-#FLIBS= -lNeXT_s -lsys_s
-#FLIBS= -lm -lc
-FLIBS=
-
-# If you are compiling dvips for suid or other privileges, you will
-# definitely want to define the following symbol; else don't.
-# SECURE = -DSECURE
-SECURE =
-
-# If you want EMTEX specials, define the following.
-EMTEX = -DEMTEX
-
-# for SYSV (and friends which use <string.h> instead of <strings.h>)
-# define the c-compiler flag
-# add -D_POSIX_SOURCE if you are POSIX (also define SYSV) (only relevant
-# for subdir searching)
-# add -DMSDOS for MS-DOS systems
-# add -DDJGPP for MS-DOS GNU's
-SYS = -DMSDOS -DDJGPP
-
-
-# where the installed binary goes
-# BINDIR = c:\emtex
-BINDIR = c:\emtex
-
-# where the manual page goes
-# MANDIR = c:\emtex\doc
-MANDIR = c:\emtex\doc
-
-PATHS = -DTFMPATH=\"$(TFMPATH)\" \
- -DPKPATH=\"$(PKPATH)\" \
- -DVFPATH=\"$(VFPATH)\" \
- -DHEADERPATH=\"$(HEADERPATH)\" \
- -DCONFIGPATH=\"$(CONFIGPATH)\" \
- -DCONFIGFILE=\"$(CONFIGFILE)\" \
- -DFONTSUBDIRPATH=\"$(FONTSUBDIRPATH)\" \
- -DFIGPATH=\"$(FIGPATH)\" \
- -DFLIPATH=\"$(FLIPATH)\" \
- -DFLINAME=\"$(FLINAME)\"
-
-CFLAGS = $(DEFS) $(OPT) $(SYS) $(SECURE) $(EMTEX)
-
-# default rules
-.c.obj:
- $(CC) -c $(CFLAGS) $<
-
-SRC = dospecia.c dviinput.c fontdef.c loadfont.c dvips.c tfmload.c \
- download.c prescan.c scanpage.c skippage.c output.c scalewid.c \
- dosectio.c dopage.c resident.c search.c unpack.c drawPS.c \
- header.c makefont.c repack.c virtualf.c dpicheck.c finclude.c \
- pprescan.c papersiz.c flib.c color.c bbox.c emspecial.c
-
-OBJ = dospecia.obj dviinput.obj fontdef.obj loadfont.obj dvips.obj \
- tfmload.obj download.obj prescan.obj scanpage.obj skippage.obj \
- output.obj scalewid.obj dosectio.obj dopage.obj resident.obj \
- search.obj unpack.obj drawPS.obj header.obj makefont.obj repack.obj \
- virtualf.obj dpicheck.obj finclude.obj \
- pprescan.obj papersiz.obj flib.obj color.obj bbox.obj emspecial.obj
-
-all : afm2tfm.exe dvips4gl.exe dvipsos2.exe tex.pro texps.pro texc.pro \
- special.pro finclude.pro color.pro crop.pro
-
-dvips4gl.exe: $(OBJ) wat.lnk
- $(CC) /fe=$&.exe /l=dos4g @wat.lnk
-
-dvipsos2.exe: $(OBJ) wat.lnk
- $(CC) /fe=$&.exe /l=os2v2 @wat.lnk
-
-wat.lnk: pc\makefile.wat
- copy &&|
-FILE dospecia.obj
-FILE dviinput.obj
-FILE fontdef.obj
-FILE loadfont.obj
-FILE dvips.obj
-FILE tfmload.obj
-FILE download.obj
-FILE prescan.obj
-FILE scanpage.obj
-FILE skippage.obj
-FILE output.obj
-FILE scalewid.obj
-FILE dosectio.obj
-FILE dopage.obj
-FILE resident.obj
-FILE search.obj
-FILE unpack.obj
-FILE drawPS.obj
-FILE header.obj
-FILE makefont.obj
-FILE repack.obj
-FILE virtualf.obj
-FILE dpicheck.obj
-FILE finclude.obj
-FILE pprescan.obj
-FILE papersiz.obj
-FILE flib.obj
-FILE color.obj
-FILE bbox.obj
-FILE emspecial.obj
-| wat.lnk
-
-# you have to add the hash sign by hand !
-win\wat.h:
- echo define TFMPATH \"$(TFMPATH)\" >>win\wat.h
- echo define PKPATH \"$(PKPATH)\" >>win\wat.h
- echo define VFPATH \"$(VFPATH)\" >>win\wat.h
- echo define HEADERPATH \"$(HEADERPATH)\" >>win\wat.h
- echo define CONFIGPATH \"$(CONFIGPATH)\" >>win\wat.h
- echo define CONFIGFILE \"$(CONFIGFILE)\" >>win\wat.h
- echo define FONTSUBDIRPATH \"$(FONTSUBDIRPATH)\" >>win\wat.h
- echo define FIGPATH \"$(FIGPATH)\" >>win\wat.h
- echo define FLIPATH \"$(FLIPATH)\" >>win\wat.h
- echo define FLINAME \"$(FLINAME)\" >>win\wat.h
-
-dvips.obj: dvips.c
- $(CC) $(CFLAGS) -c dvips.c /fi=win\wat.h
-
-afm2tfm.exe: afm2tfm.c
- $(CC) $(CFLAGS) afm2tfm.c $(LIBS) $(FLIBS)
-
-#$(OBJ) : dvips.h debug.h paths.h
-
-squeeze.exe : squeeze.c
- $(CC) $(CFLAGS) squeeze.c $(LIBS) $(FLIBS)
-
-tex.pro : tex.lpr squeeze.exe
- squeeze tex.lpro tex.pro
-
-texc.pro: texc.lpr squeeze.exe
- squeeze texc.lpro texc.pro
-
-texc.lpr: tex.lpr
- @echo This does "texc.scr tex.lpr texc.lpr" on Unix
- @echo For MSDOS, copy tex.lpr to texc.lpr
- @echo then edit texc.lpr to remove the code
- @echo for uncompressed fonts, and uncomment the
- @echo code for unpacking compressed fonts
-
-texps.pro : texps.lpr squeeze.exe
- squeeze texps.lpro texps.pro
-
-special.pro : special.lpr squeeze.exe
- squeeze special.lpr special.pro
-
-finclude.pro: finclude.lpr squeeze.exe
- squeeze finclude.lpr finclude.pro
-
-color.pro: color.lpr squeeze.exe
- squeeze color.lpr color.pro
-
-crop.pro: crop.lpr squeeze.exe
- squeeze crop.lpr crop.pro
-
-install : afm2tfm.exe dvips$(DEST).exe pc/maketexp.bat \
- tex.pro texc.pro texps.pro special.pro finclude.pro color.pro crop.pro \
- pc/config.ps psfonts.map epsf.tex epsf.sty rotate.tex rotate.sty \
- dvips.tex dvipsmac.tex colordvi.sty colordvi.tex blackdvi.sty \
- blackdvi.tex pc/dvips.doc pc/afm2tfm.doc
- mkdir $(BINDIR)
- mkdir $(HEADERDIR)
- mkdir $(CONFIGDIR)
- mkdir $(MANDIR)
- mkdir $(TEXMACROPARENTDIR)
- mkdir $(TEXMACRODIR)
- copy afm2tfm.exe $(BINDIR)\afm2tfm.exe
- copy dvips4gl.exe $(BINDIR)\dvips4gl.exe
- copy dvipsos2.exe $(BINDIR)\dvipsos2.exe
- copy pc\maketexp.bat $(BINDIR)\maketexp.bat
- copy tex.pro $(HEADERDIR)
- copy texc.pro $(HEADERDIR)
- copy texps.pro $(HEADERDIR)
- copy texps.pro $(HEADERDIR)
- copy special.pro $(HEADERDIR)
- copy finclude.pro $(HEADERDIR)
- copy color.pro $(HEADERDIR)
- copy crop.pro $(HEADERDIR)
- copy pc\config.ps $(CONFIGDIR)\$(CONFIGFILE)
- copy psfonts.map $(CONFIGDIR)
- copy epsf.tex $(TEXMACRODIR)
- copy epsf.sty $(TEXMACRODIR)
- copy rotate.tex $(TEXMACRODIR)
- copy rotate.sty $(TEXMACRODIR)
- copy colordvi.sty $(TEXMACRODIR)
- copy colordvi.tex $(TEXMACRODIR)
- copy blackdvi.sty $(TEXMACRODIR)
- copy blackdvi.tex $(TEXMACRODIR)
- copy dvips.tex $(TEXMACRODIR)
- copy dvipsmac.tex $(TEXMACRODIR)
- copy pc\dvips.doc $(MANDIR)
- copy pc\afm2tfm.doc $(MANDIR)
-
-veryclean :
- del *.obj
- del dvips4gl.exe
- del dvipsos2.exe
- del squeeze.exe
- del afm2tfm.exe
- del *.pro
- del *.bak
- del *.log
- del wat.lnk
-
-clean :
- del *.obj
- del squeeze.exe
- del *.bak
- del *.log
- del wat.lnk
diff --git a/Build/source/texk/dvipsk/pc/makefile.wt2 b/Build/source/texk/dvipsk/pc/makefile.wt2
deleted file mode 100644
index 794cc18c9ac..00000000000
--- a/Build/source/texk/dvipsk/pc/makefile.wt2
+++ /dev/null
@@ -1,304 +0,0 @@
-#
-# Makefile for dvips. Edit this first part of the file.
-#
-# Watcom C/386 9.0 for MSDOS, 21 Dec 1993, rcpt@urc.tue.nl.
-# Compilation takes about 3 minutes on my 486/8MB clone.
-#
-# [ If you don't have MTPK,
-# - remove mtpk.c from SRC
-# - remove mtpk.obj from OBJ
-# rjl 23 Dec 1993 ]
-#
-# This makefile use the UNIX compatible rm.exe and sed.exe tools.
-# They are available on good fileservers. And because of MSDOS
-# limitations in handling command lines you have to add manually an
-# include line to dvips.c and mtpk.c:
-# #include "dvips.wat" (the one needed in dvips.c)
-# #include "paths.wat" (the one needed in mtpk.c)
-#
-# First, the things that absolutely must be edited for your system.
-# Please, don't forget to install MTPK with the same settings
-#
-# Run with: `wmake -f pc\makefile.wat' from dvips source directory.
-
-# Define default resolution
-DEFRES = 300
-
-# Define name of MTPK
-MTPK = mtpk
-
-# where TeX is `rooted'. Sometimes d:\emtex
-# TEXDIR = c:\emtex
-TEXDIR = c:\emtex
-
-# another place pk, tfm, and vf files might be found.
-# LOCALDIR = c:\texfonts
-LOCALDIR =
-
-# the default path to search for TFM files
-# (this usually is identical to TeX's defaultfontpath, which omits `.')
-# (private fonts are given an explicit directory, which overrides the path)
-# overridden by the environment variable TEXFONTS
-# TFMPATH = .;$(TEXDIR)\tfm
-TFMPATH = .;$(TEXDIR)\tfm
-
-# the default path to search for PK files
-# Don't forget to add the directory that MTPK puts the files!
-# (In this case %ddpi\%f.pk)
-# overridden by the environment variable TEXPKS or TEXPACKED or PKFONTS
-# PKPATH = %ddpi\%f.pk;$(TEXDIR)\texfonts\%m\%ddpi\%f.pk
-PKPATH = %ddpi\%f.pk;$(TEXDIR)\texfonts\%m\%ddpi\%f.pk
-
-# Default FLIPATH and FLINAME
-FLIPATH = $(TEXDIR)\texfonts
-FLINAME = lj_0;lj_h;lj_1;lj_2;lj_3;lj_4;lj_5
-
-# the default path to search for VF files (usually omits `.')
-# overridden by the environment variable VFFONTS
-# VFPATH = .;$(TEXDIR)\vf
-VFPATH = .;$(TEXDIR)\vf
-
-# additional directories in which to search for subdirectories to find
-# both tfm and pk files
-FONTSUBDIRPATH =
-
-# where the config files go
-# CONFIGDIR = $(TEXDIR)\ps
-CONFIGDIR = $(TEXDIR)\ps
-
-# the default path to search for config files
-# overridden by the environment variable TEXCONFIG
-# CONFIGPATH = .;$(CONFIGDIR)
-CONFIGPATH = .;$(CONFIGDIR)
-
-# the name of your config file
-# CONFIGFILE = config.ps
-CONFIGFILE = config.ps
-
-# where the header PS files go
-# HEADERDIR = $(TEXDIR)\ps
-HEADERDIR = $(TEXDIR)\ps
-
-# the default path to search for header files
-# HEADERPATH = .;$(HEADERDIR)
-HEADERPATH = .;$(HEADERDIR)
-
-# where epsf.tex and rotate.tex go (usually the TeX macros directory)
-# TEXMACRODIR = $(TEXDIR)\texinput
-TEXMACROPARENTDIR = $(TEXDIR)\texinput
-TEXMACRODIR = $(TEXMACROPARENTDIR)\dvips
-
-# the default path to search for epsf and psfiles
-# (usually the same as TeX's defaultinputpath)
-# FIGPATH = .;$(TEXDIR)\texinput
-FIGPATH = .;$(TEXDIR)\texinput
-
-# the place man pages are located.
-MANDIR = $(TEXDIR)\doc
-
-# change -DDEFRES=300 or whatever is required
-# if the default resolution is not 300 dpi,
-# add -DDEBUG to turn on debugging capability
-# add -DTPIC for tpic support
-# add -DFONTLIB to search font libraries
-# add -DSEARCH_SUBDIRECTORIES to search the FONTSUBDIRPATH.
-# add -DHAVE_GETCWD if you have getcwd (relevant only for subdir searching)
-# add -DIBM6000 for compiling on IBM 6000 systems
-# add -DCREATIONDATE if your system has a working time() and you want dated files
-# (for VM/CMS, see the MKDVIPS.EXEC file in the vmcms subdirectory).
-#
-# If you define FONTLIB, make sure to also give definitions to
-# FLIPATH and FLINAME.
-#
-# If your compiler doesn't like void*, then add
-# -DVOID=char
-#
-DEFS= -DTPIC -DDEBUG -DFONTLIB -DHAVE_GETCWD
-
-# either use
-# OPT = -dMSDOS -zq -d2 -j
-# OPTIMIZE = /oaxe /zp4 /4r
-# or
-OPTIMIZE = /oaxe /zp4 /4r
-OPT = -dMSDOS -zq -d2 -j
-
-# libraries to include (-lm -lc on most systems)
-#FLIBS=
-FLIBS=
-
-# If you are compiling dvips for suid or other privileges, you will
-# definitely want to define the following symbol; else don't.
-# SECURE = -DSECURE
-
-# If you want EMTEX specials, define the following.
-EMTEX = -DEMTEX
-
-# for SYSV (and friends which use <string.h> instead of <strings.h>)
-# define the c-compiler flag
-# add -D_POSIX_SOURCE if you are POSIX (also define SYSV) (only relevant
-# for subdir searching)
-# SYS = -DSYSV
-
-# Define this to be whatever you use for installation. If you don't have
-# install, use a script that invokes copy and chmod's the files
-# appropriately.
-# INSTALL = copy
-INSTALL = copy
-
-# where the installed binary goes
-# BINDIR = $(TEXDIR)
-BINDIR = $(TEXDIR)
-
-# Compiler and linker names (protected mode versions)
-CC = wcl386 -p
-LD = wlinkp
-
-.EXTENSIONS:
-.EXTENSIONS: .exe .obj .c
-
-.BEFORE
- @set INCLUDE=.;$(%watcom)\h
- @set DOS4G=quiet
-
-CFLAGS = $(DEFS) $(OPT) $(EMTEX) $(OPTIMIZE)
-
-SRC = dospecial.c dviinput.c fontdef.c loadfont.c dvips.c tfmload.c &
- download.c prescan.c scanpage.c skippage.c output.c scalewidth.c &
- dosection.c dopage.c resident.c search.c unpack.c drawPS.c &
- header.c mtpk.c repack.c virtualfont.c dpicheck.c finclude.c &
- pprescan.c papersiz.c flib.c color.c bbox.c emspecial.c
-
-OBJ = dospecial.obj dviinput.obj fontdef.obj loadfont.obj dvips.obj &
- tfmload.obj download.obj prescan.obj scanpage.obj skippage.obj &
- output.obj scalewidth.obj dosection.obj dopage.obj resident.obj &
- search.obj unpack.obj drawPS.obj header.obj mtpk.obj repack.obj &
- virtualfont.obj dpicheck.obj finclude.obj pprescan.obj papersiz.obj &
- flib.obj color.obj bbox.obj emspecial.obj
-
-all : afm2tfm.exe dvips.exe tex.pro texps.pro texc.pro special.pro &
- finclude.pro color.pro crop.pro .SYMBOLIC
-
-dvips.exe : $(OBJ) dvips.rsp
- $(LD) @dvips.rsp
-
-dvips.rsp: pc\Makefile.wat
- echo name dvips.exe > dvips.rsp
- echo debug all >> dvips.rsp
- echo option caseexact >> dvips.rsp
- echo option dosseg >> dvips.rsp
- echo system dos4g >> dvips.rsp
- for %f in ($(OBJ)) do echo file %f >> dvips.rsp
-
-dvips.obj: dvips.c dvips.wat
- $(CC) $(CFLAGS) -c dvips.c
-
-mtpk.obj: mtpk.c paths.wat
- $(CC) $(CFLAGS) -c mtpk.c
-
-afm2tfm.exe: afm2tfm.obj
- $(LD) system dos4g name afm2tfm.exe file afm2tfm.obj
-
-squeeze.exe : squeeze.obj
- $(LD) system dos4g file squeeze.obj name squeeze.exe
-
-tex.pro : tex.lpro squeeze.exe
- squeeze <tex.lpro > tex.pro
-
-texc.pro: texc.lpro squeeze.exe
- squeeze <texc.lpro >texc.pro
-
-texc.lpro: texc.script tex.lpro
- @echo ================================================
- @echo Create texc.lpro:
- @echo 1) copy tex.lpro texc.lpro
- @echo 2) edit texc.lpro; delete lines between
- @echo % begin code for uncompressed fonts only
- @echo % end code for uncompressed fonts only
- @echo 3) remove comments `% ' for next lines till line
- @echo % end of code for unpacking compressed fonts
- @echo 4) restart make
- @echo ================================================
-
-texps.pro : texps.lpro squeeze.exe
- squeeze <texps.lpro >texps.pro
-
-special.pro : special.lpro squeeze.exe
- squeeze <special.lpro >special.pro
-
-finclude.pro : finclude.lpro squeeze.exe
- squeeze <finclude.lpro >finclude.pro
-
-color.pro : color.lpro squeeze.exe
- squeeze <color.lpro >color.pro
-
-crop.pro : crop.lpro squeeze.exe
- squeeze <crop.lpro >crop.pro
-
-install : afm2tfm.exe dvips.exe &
- tex.pro texc.pro texps.pro special.pro finclude.pro color.pro &
- crop.pro config.ps psfonts.map epsf.tex epsf.sty rotate.tex &
- rotate.sty colordvi.tex colordvi.sty blackdvi.tex blackdvi.sty &
- dvips.tex dvipsmac.tex .SYMBOLIC
- -md $(BINDIR)
- -md $(CONFIGDIR)
- -md $(HEADERDIR)
- -md $(MANDIR)
- -md $(TEXMACRODIR)
- $(INSTALL) afm2tfm.exe $(BINDIR)\afm2tfm.exe
- $(INSTALL) dvips.exe $(BINDIR)\dvips.exe
- $(INSTALL) tex.pro $(HEADERDIR)
- $(INSTALL) texc.pro $(HEADERDIR)
- $(INSTALL) texps.pro $(HEADERDIR)
- $(INSTALL) special.pro $(HEADERDIR)
- $(INSTALL) finclude.pro $(HEADERDIR)
- $(INSTALL) color.pro $(HEADERDIR)
- $(INSTALL) crop.pro $(HEADERDIR)
- $(INSTALL) config.ps $(CONFIGDIR)\$(CONFIGFILE)
- $(INSTALL) psfonts.map $(CONFIGDIR)
- $(INSTALL) epsf.tex $(TEXMACRODIR)
- $(INSTALL) epsf.sty $(TEXMACRODIR)
- $(INSTALL) rotate.tex $(TEXMACRODIR)
- $(INSTALL) rotate.sty $(TEXMACRODIR)
- $(INSTALL) colordvi.sty $(TEXMACRODIR)
- $(INSTALL) colordvi.tex $(TEXMACRODIR)
- $(INSTALL) blackdvi.sty $(TEXMACRODIR)
- $(INSTALL) blackdvi.tex $(TEXMACRODIR)
- $(INSTALL) dvips.tex $(MANDIR)
- $(INSTALL) dvipsmac.tex $(MANDIR)
-
-veryclean : clean .SYMBOLIC
- -rm -f dvips.exe texc.lpro *.pro
-
-clean
- -rm -f *.obj squeeze.exe afm2tfm.exe *.log *.dvi
-
-dvips.wat: pc\Makefile.wat
- echo $#define TFMPATH "$(TFMPATH)" > dvips.tmp
- echo $#define PKPATH "$(PKPATH)" >> dvips.tmp
- echo $#define VFPATH "$(VFPATH)" >> dvips.tmp
- echo $#define HEADERPATH "$(HEADERPATH)" >> dvips.tmp
- echo $#define CONFIGPATH "$(CONFIGPATH)" >> dvips.tmp
- echo $#define CONFIGFILE "$(CONFIGFILE)" >> dvips.tmp
- echo $#define FONTSUBDIRPATH "$(FONTSUBDIRPATH)" >> dvips.tmp
- echo $#define FIGPATH "$(FIGPATH)" >> dvips.tmp
- echo $#define DEFRES $(DEFRES) >> dvips.tmp
- echo $#define FLIPATH "$(FLIPATH)" >> dvips.tmp
- echo $#define FLINAME "$(FLINAME)" >> dvips.tmp
- sed -e "s,\\,\\\\,g" dvips.tmp > dvips.wat
- -rm dvips.tmp
-
-paths.wat: pc\Makefile.wat
- echo $#define TFMPATH "$(TFMPATH)" > paths.tmp
- echo $#define PKPATH "$(PKPATH)" >> paths.tmp
- echo $#define VFPATH "$(VFPATH)" >> paths.tmp
- echo $#define HEADERPATH "$(HEADERPATH)" >> paths.tmp
- echo $#define CONFIGPATH "$(CONFIGPATH)" >> paths.tmp
- echo $#define CONFIGFILE "$(CONFIGFILE)" >> paths.tmp
- echo $#define MODEDEF $(DEFRES) >> paths.tmp
- echo $#define FLIPATH "$(FLIPATH);$(FLINAME)" >> paths.tmp
- echo $#define MTPK "$(MTPK)" >> paths.tmp
- sed -e "s,\\,\\\\,g" paths.tmp > paths.wat
- -rm paths.tmp
-
-.c.obj:
- $(CC) $(CFLAGS) -c $[*
diff --git a/Build/source/texk/dvipsk/pc/maketexp.bat b/Build/source/texk/dvipsk/pc/maketexp.bat
deleted file mode 100644
index 61253ee70c4..00000000000
--- a/Build/source/texk/dvipsk/pc/maketexp.bat
+++ /dev/null
@@ -1,52 +0,0 @@
-@echo off
-REM
-REM This script file makes a new TeX PK font, because one wasn't
-REM found. Parameters are:
-REM
-REM name dpi bdpi magnification [mode]
-REM
-REM `name' is the name of the font, such as `cmr10'. `dpi' is
-REM the resolution the font is needed at. `bdpi' is the base
-REM resolution, useful for figuring out the mode to make the font
-REM in. `magnification' is a string to pass to MF as the
-REM magnification. `mode', if supplied, is the mode to use.
-REM
-REM Because of MSDOS memory constraints, this batch file just
-REM creates a mfjob file, so that the fonts can be created later.
-REM
-
-REM NAME=%1 DPI=%2 BDPI=%3 MAG=%4 MODE=%5
-
-if exist dvips.mfj goto :second
-echo %% dvips.mfj - created by dvips > dvips.mfj
-echo input [modes]; >> dvips.mfj
-echo Created dvips.mfj
-
-:second
-echo { >> dvips.mfj
-echo base=plain; >> dvips.mfj
-echo font=%1; >> dvips.mfj
-echo mag=%4; >> dvips.mfj
-
-if "%5" == "" goto :nomode
-if "%5" == "imagen" goto :hpmode
-if "%5" == "hplaser" goto :hpmode
-
-:goodmode
-echo mode=%5[%3]; >> dvips.mfj
-echo output=pk[c:\texfonts\%5\@Rrdpi\@f]; >> dvips.mfj
-goto :donemode
-
-:hpmode
-echo mode=hplaser[%3]; >> dvips.mfj
-echo output=pk[c:\texfonts\pixel.lj\@Rrdpi\@f]; >> dvips.mfj
-goto :donemode
-
-:nomode
-echo m; >> dvips.mfj
-
-:donemode
-echo } >> dvips.mfj
-
-echo Run "mfjob dvips"
-:exit
diff --git a/Build/source/texk/dvipsk/pc/maketexp.cmd b/Build/source/texk/dvipsk/pc/maketexp.cmd
deleted file mode 100644
index 92464016f3f..00000000000
--- a/Build/source/texk/dvipsk/pc/maketexp.cmd
+++ /dev/null
@@ -1,56 +0,0 @@
-@echo off
-REM
-REM This script file makes a new TeX PK font, because one wasn't
-REM found. Parameters are:
-REM
-REM name dpi bdpi magnification [mode]
-REM
-REM `name' is the name of the font, such as `cmr10'. `dpi' is
-REM the resolution the font is needed at. `bdpi' is the base
-REM resolution, useful for figuring out the mode to make the font
-REM in. `magnification' is a string to pass to MF as the
-REM magnification. `mode', if supplied, is the mode to use.
-REM
-REM Because of MSDOS memory constraints, this batch file just
-REM creates a mfjob file, so that the fonts can be created later.
-REM
-
-REM NAME=%1 DPI=%2 BDPI=%3 MAG=%4 MODE=%5
-
-if exist dvips.mfj goto :second
-echo %% dvips.mfj - created by dvips > dvips.mfj
-echo input [modes]; >> dvips.mfj
-echo Created dvips.mfj
-
-:second
-echo { >> dvips.mfj
-echo base=plain; >> dvips.mfj
-echo font=%1; >> dvips.mfj
-echo mag=%4; >> dvips.mfj
-
-if "%5" == "" goto :nomode
-if "%5" == "imagen" goto :hpmode
-if "%5" == "hplaser" goto :hpmode
-
-:goodmode
-echo mode=%5[%3]; >> dvips.mfj
-echo output=pk[c:\texfonts\%5\@Rrdpi\@f]; >> dvips.mfj
-goto :donemode
-
-:hpmode
-echo mode=hplaser[%3]; >> dvips.mfj
-echo output=pk[c:\texfonts\pixel.lj\@Rrdpi\@f]; >> dvips.mfj
-goto :donemode
-
-:nomode
-echo m; >> dvips.mfj
-
-:donemode
-echo } >> dvips.mfj
-
-REM Uncomment the following line and comment out the echo instruction to
-REM make operation automatic.
-
-REM mfjob dvips
-echo Run "mfjob dvips"
-:exit
diff --git a/Build/source/texk/dvipsk/pc/squeeze.def b/Build/source/texk/dvipsk/pc/squeeze.def
deleted file mode 100644
index 942e1909d5a..00000000000
--- a/Build/source/texk/dvipsk/pc/squeeze.def
+++ /dev/null
@@ -1,3 +0,0 @@
-NAME squeeze WINDOWCOMPAT NEWFILES
-DESCRIPTION 'squeeze a PostScript file (source: dvips)'
-STACKSIZE 0x2000
diff --git a/Build/source/texk/dvipsk/pc/wat.h b/Build/source/texk/dvipsk/pc/wat.h
deleted file mode 100644
index d0104afb443..00000000000
--- a/Build/source/texk/dvipsk/pc/wat.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#define TFMPATH "c:\\emtex\\tfm"
-#define PKPATH "c:\\texfonts\\pixel.lj\\%ddpi\\%f.%p"
-#define VFPATH "c:\\emtex\\vf"
-#define HEADERPATH ".;c:\\emtex\\ps"
-#define CONFIGPATH ".;c:\\emtex\\ps"
-#define CONFIGFILE "config.ps"
-#define FONTSUBDIRPATH ""
-#define FIGPATH ".;..;c:\\emtex\\texinput"
-#define FLIPATH "c:\\texfonts"
-#define FLINAME "lj_0;lj_h;lj_1;lj_2;lj_3;lj_4;lj_5;lj_sli"
diff --git a/Build/source/texk/dvipsk/pc/winmain.c b/Build/source/texk/dvipsk/pc/winmain.c
deleted file mode 100644
index 206be0c1296..00000000000
--- a/Build/source/texk/dvipsk/pc/winmain.c
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- * dvips - winmain.c
- * This module is Copyright 1992 by Russell Lang and Maurice Castro.
- * This file may be freely copied and modified.
- */
-
-#include <windows.h>
-#include <dos.h>
-#include <stdio.h>
-#include <string.h>
-
-/* local */
-#define MAXSTR 255
-HWND FAR hwndeasy;
-static char FAR szAppName[] = "dvips";
-char winline[MAXSTR]; /* command line for MS-Windows */
-int wargc; /* argc for windows */
-char *wargv[32]; /* argv for windows */
-
-/* external */
-extern void help(); /* in dvips.c */
-extern void error(); /* in dvips.c */
-
-/* EasyWin */
-extern POINT _ScreenSize;
-
-int main(int argc, char *argv[], char *env[]);
-
-/* A fake system() for Microsoft Windows */
-int
-system(command)
-char *command;
-{
-char str[MAXSTR];
- strcpy(str,"Windows can't do system(\042");
- if (command) {
- strncat(str,command,MAXSTR-strlen(str));
- }
- strncat(str,"\042);",MAXSTR-strlen(str));
- error(str);
- return(1); /* error */
-}
-
-/* Get a new command line */
-void
-winargs()
-{
- fputs("Options: ",stdout);
- fgets(winline,MAXSTR,stdin);
- wargc=1;
- if ( (wargv[1] = strtok(winline," \n")) != (char *)NULL ) {
- wargc=2;
- while ( ((wargv[wargc] = strtok((char *)NULL," \n")) != (char *)NULL)
- && (wargc < 31) )
- wargc++;
- }
- wargv[wargc] = (char *)NULL;
-}
-
-int PASCAL WinMain(HANDLE hInstance, HANDLE hPrevInstance,
- LPSTR lpszCmdLine, int cmdShow)
-{
- char modulename[MAXSTR];
-
- /* start up the text window */
- _ScreenSize.y = 50;
- _InitEasyWin();
-
- /* fix up the EasyWindows window provided by Borland */
- GetModuleFileName(hInstance, (LPSTR) modulename, MAXSTR);
- hwndeasy = FindWindow("BCEasyWin", modulename);
- SetWindowText(hwndeasy, szAppName); /* change title */
- SetClassWord(hwndeasy, GCW_HICON, LoadIcon(hInstance, "RadicalEye")); /* change icon */
-
- if (_argc==1) {
- /* get new command line if no options or filenames */
- help();
- winargs();
- wargv[0] = _argv[0];
- _argc=wargc;
- _argv=wargv;
- }
-
- main(_argc, _argv, environ);
- /* unfortunately dvips doesn't return from main(), it exits */
- /* so the following code is never executed */
- DestroyWindow(hwndeasy);
- return 0;
-}
diff --git a/Build/source/texk/texlive/ChangeLog b/Build/source/texk/texlive/ChangeLog
index 181bf3d1fc5..0b0796f55fb 100644
--- a/Build/source/texk/texlive/ChangeLog
+++ b/Build/source/texk/texlive/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-14 Karl Berry <karl@tug.org>
+
+ * *.bat, old format scripts: remove, obsolete.
+ * Makefile.am: don't distribute them.
+
2009-09-22 Peter Breitenlohner <peb@mppmu.mpg.de>
* tl-w32-starter.bat (removed): Replaced ...
diff --git a/Build/source/texk/texlive/Makefile.am b/Build/source/texk/texlive/Makefile.am
index 8168d34b7b5..e0aba8e07fb 100644
--- a/Build/source/texk/texlive/Makefile.am
+++ b/Build/source/texk/texlive/Makefile.am
@@ -7,85 +7,6 @@ ACLOCAL_AMFLAGS = -I ../../m4
SUBDIRS = linked_scripts
-## Win32 wrapper
+## Windows wrapper
##
EXTRA_DIST = w32_wrapper
-
-## Not used
-##
-EXTRA_DIST += \
- amstex amstex.bat \
- blue.bat \
- cont-cz.bat \
- cont-de cont-de.bat \
- cont-en cont-en.bat \
- cont-nl cont-nl.bat \
- cont-ro.bat \
- cont-uk.bat \
- cslatex cslatex.bat \
- cslatexd.bat \
- cslatexi.bat \
- cslatexk.bat \
- csplain csplain.bat \
- csplaind.bat \
- csplaini.bat \
- csplaink.bat \
- einitex \
- elatex elatex.bat \
- eplain eplain.bat \
- evirtex \
- giftopng \
- hugelatex hugelatex.bat \
- hugetex hugetex.bat \
- inimf \
- inimpost \
- iniomega \
- initex \
- jadetex jadetex.bat \
- lambda lamstex.bat \
- latex \
- lollipop.bat \
- mex mex.bat \
- mex-pl.bat \
- mllatex mllatex.bat \
- mltex mltex.bat \
- mptopdf \
- nts \
- pdfcslatex pdfcslatex.bat \
- pdfcslatexd.bat \
- pdfcslatexi.bat \
- pdfcslatexk.bat \
- pdfcsplain pdfcsplain.bat \
- pdfcsplaind.bat \
- pdfcsplaini.bat \
- pdfcsplaink.bat \
- pdfeinitex \
- pdfemex-pl.bat \
- pdfevirtex \
- pdfinitex \
- pdfjadetex pdfjadetex.bat \
- pdflatex \
- pdfmex pdfmex.bat \
- pdfmex-pl.bat \
- pdfplatex \
- pdfplatex-pl.bat \
- pdftexinfo pdftexinfo.bat \
- pdfvirtex \
- pdfxmltex \
- physe physe.bat \
- phyzzx phyzzx.bat \
- platex platex.bat \
- platex-pl.bat \
- startex startex.bat \
- texinfo texinfo.bat \
- texsis texsis.bat \
- text1 text1.bat \
- virmf \
- virmpost \
- viromega \
- virtex \
- xeinitex \
- xelatex \
- xevirtex \
- xmltex
-
diff --git a/Build/source/texk/texlive/amstex b/Build/source/texk/texlive/amstex
deleted file mode 100755
index 57ddc7224cd..00000000000
--- a/Build/source/texk/texlive/amstex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich amstex.fmt`" || fmtutil --byfmt amstex
-exec tex -fmt=amstex -progname=tex "$@"
diff --git a/Build/source/texk/texlive/amstex.bat b/Build/source/texk/texlive/amstex.bat
deleted file mode 100755
index ca6b3b32536..00000000000
--- a/Build/source/texk/texlive/amstex.bat
+++ /dev/null
@@ -1,8 +0,0 @@
-@echo off
-kpsewhich amstex.fmt > nul
-if errorlevel 1 goto genformat
-if errorlevel 0 goto okay
-:genformat
-fmtutil --byfmt amstex
-:okay
-tex -fmt=amstex -progname=tex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/blue.bat b/Build/source/texk/texlive/blue.bat
deleted file mode 100755
index 193a4520860..00000000000
--- a/Build/source/texk/texlive/blue.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=blue %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/cont-cz.bat b/Build/source/texk/texlive/cont-cz.bat
deleted file mode 100755
index a5d410ba35c..00000000000
--- a/Build/source/texk/texlive/cont-cz.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdfetex -efmt=cont-cz -progname=context %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/cont-de b/Build/source/texk/texlive/cont-de
deleted file mode 100755
index 397bcc64b1f..00000000000
--- a/Build/source/texk/texlive/cont-de
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich cont-de.efmt`" || fmtutil --byfmt cont-de
-exec pdfetex -efmt=cont-de -progname=context "$@"
diff --git a/Build/source/texk/texlive/cont-de.bat b/Build/source/texk/texlive/cont-de.bat
deleted file mode 100755
index 71289e30a7b..00000000000
--- a/Build/source/texk/texlive/cont-de.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdfetex -efmt=cont-de -progname=context %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/cont-en b/Build/source/texk/texlive/cont-en
deleted file mode 100755
index 59adaece81a..00000000000
--- a/Build/source/texk/texlive/cont-en
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich cont-en.efmt`" || fmtutil --byfmt cont-en
-exec pdfetex -efmt=cont-en -progname=context "$@"
diff --git a/Build/source/texk/texlive/cont-en.bat b/Build/source/texk/texlive/cont-en.bat
deleted file mode 100755
index 3e26f09acc8..00000000000
--- a/Build/source/texk/texlive/cont-en.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdfetex -efmt=cont-en -progname=context %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/cont-nl b/Build/source/texk/texlive/cont-nl
deleted file mode 100755
index d36b6e6d801..00000000000
--- a/Build/source/texk/texlive/cont-nl
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich cont-nl.efmt`" || fmtutil --byfmt cont-nl
-exec pdfetex -efmt=cont-nl -progname=context "$@"
diff --git a/Build/source/texk/texlive/cont-nl.bat b/Build/source/texk/texlive/cont-nl.bat
deleted file mode 100755
index a8dae8e25b8..00000000000
--- a/Build/source/texk/texlive/cont-nl.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdfetex -efmt=cont-nl -progname=context %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/cont-ro.bat b/Build/source/texk/texlive/cont-ro.bat
deleted file mode 100755
index 7a3539fdd5e..00000000000
--- a/Build/source/texk/texlive/cont-ro.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdfetex -efmt=cont-ro -progname=context %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/cont-uk.bat b/Build/source/texk/texlive/cont-uk.bat
deleted file mode 100755
index 1c07557b4e0..00000000000
--- a/Build/source/texk/texlive/cont-uk.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdfetex -efmt=cont-uk -progname=context %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/cslatex b/Build/source/texk/texlive/cslatex
deleted file mode 100755
index a9d8b34fb36..00000000000
--- a/Build/source/texk/texlive/cslatex
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-tex -progname=cslatex -default-translate-file=il2-cs "$@"
diff --git a/Build/source/texk/texlive/cslatex.bat b/Build/source/texk/texlive/cslatex.bat
deleted file mode 100755
index 97b4cae04c2..00000000000
--- a/Build/source/texk/texlive/cslatex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -progname=cslatex -default-translate-file=cp1250cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/cslatexd.bat b/Build/source/texk/texlive/cslatexd.bat
deleted file mode 100755
index 6d035f713cf..00000000000
--- a/Build/source/texk/texlive/cslatexd.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -progname=cslatex -default-translate-file=cp852-cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/cslatexi.bat b/Build/source/texk/texlive/cslatexi.bat
deleted file mode 100755
index edcb2ca2c07..00000000000
--- a/Build/source/texk/texlive/cslatexi.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -progname=cslatex -default-translate-file=il2-cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/cslatexk.bat b/Build/source/texk/texlive/cslatexk.bat
deleted file mode 100755
index 9eada9ba7c1..00000000000
--- a/Build/source/texk/texlive/cslatexk.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -progname=cslatex -default-translate-file=kam-cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/csplain b/Build/source/texk/texlive/csplain
deleted file mode 100755
index 091414ea9cb..00000000000
--- a/Build/source/texk/texlive/csplain
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-tex -progname=csplain -default-translate-file=il2-cs "$@"
diff --git a/Build/source/texk/texlive/csplain.bat b/Build/source/texk/texlive/csplain.bat
deleted file mode 100755
index 8e31df3bdf6..00000000000
--- a/Build/source/texk/texlive/csplain.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -progname=csplain -default-translate-file=cp1250cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/csplaind.bat b/Build/source/texk/texlive/csplaind.bat
deleted file mode 100755
index 0407343972a..00000000000
--- a/Build/source/texk/texlive/csplaind.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -progname=csplain -default-translate-file=cp852-cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/csplaini.bat b/Build/source/texk/texlive/csplaini.bat
deleted file mode 100755
index 3089cf98fec..00000000000
--- a/Build/source/texk/texlive/csplaini.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -progname=csplain -default-translate-file=il2-cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/csplaink.bat b/Build/source/texk/texlive/csplaink.bat
deleted file mode 100755
index 508f51331e6..00000000000
--- a/Build/source/texk/texlive/csplaink.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -progname=csplain -default-translate-file=kam-cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/einitex b/Build/source/texk/texlive/einitex
deleted file mode 100755
index 3b467887ef0..00000000000
--- a/Build/source/texk/texlive/einitex
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec etex -ini "$@"
diff --git a/Build/source/texk/texlive/elatex b/Build/source/texk/texlive/elatex
deleted file mode 100755
index 609675c7acd..00000000000
--- a/Build/source/texk/texlive/elatex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich elatex.efmt`" || fmtutil --byfmt elatex
-exec etex -efmt=elatex "$@"
diff --git a/Build/source/texk/texlive/elatex.bat b/Build/source/texk/texlive/elatex.bat
deleted file mode 100755
index 0c178bc9eba..00000000000
--- a/Build/source/texk/texlive/elatex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-etex -fmt=elatex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/eplain b/Build/source/texk/texlive/eplain
deleted file mode 100755
index 0b459d44b9a..00000000000
--- a/Build/source/texk/texlive/eplain
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich eplain.fmt`" || fmtutil --byfmt eplain
-exec tex -fmt=eplain -progname=tex "$@"
diff --git a/Build/source/texk/texlive/eplain.bat b/Build/source/texk/texlive/eplain.bat
deleted file mode 100755
index 1879fa828be..00000000000
--- a/Build/source/texk/texlive/eplain.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=eplain -progname=tex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/evirtex b/Build/source/texk/texlive/evirtex
deleted file mode 100755
index 2ef26c1150e..00000000000
--- a/Build/source/texk/texlive/evirtex
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec etex "$@"
diff --git a/Build/source/texk/texlive/giftopng b/Build/source/texk/texlive/giftopng
deleted file mode 100755
index e218c61fe6b..00000000000
--- a/Build/source/texk/texlive/giftopng
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-X=`kpsewhich $1`
-Y=`basename $X .gif`.png
-convert $X $Y
diff --git a/Build/source/texk/texlive/hugelatex b/Build/source/texk/texlive/hugelatex
deleted file mode 100755
index 3cfd949b23a..00000000000
--- a/Build/source/texk/texlive/hugelatex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich latex.fmt`" || fmtutil --byfmt latex
-exec tex -fmt=latex -progname=latex "$@"
diff --git a/Build/source/texk/texlive/hugelatex.bat b/Build/source/texk/texlive/hugelatex.bat
deleted file mode 100755
index 19654e0ae48..00000000000
--- a/Build/source/texk/texlive/hugelatex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=latex -progname=latex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/hugetex b/Build/source/texk/texlive/hugetex
deleted file mode 100755
index 982fc74045c..00000000000
--- a/Build/source/texk/texlive/hugetex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich tex.fmt`" || fmtutil --byfmt tex
-exec tex -fmt=tex "$@"
diff --git a/Build/source/texk/texlive/hugetex.bat b/Build/source/texk/texlive/hugetex.bat
deleted file mode 100755
index 5138b61f0a7..00000000000
--- a/Build/source/texk/texlive/hugetex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=hugetex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/inimf b/Build/source/texk/texlive/inimf
deleted file mode 100755
index c1f1be415cd..00000000000
--- a/Build/source/texk/texlive/inimf
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec mf -ini "$@"
diff --git a/Build/source/texk/texlive/inimpost b/Build/source/texk/texlive/inimpost
deleted file mode 100755
index 5753b596b08..00000000000
--- a/Build/source/texk/texlive/inimpost
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec mpost -ini "$@"
diff --git a/Build/source/texk/texlive/iniomega b/Build/source/texk/texlive/iniomega
deleted file mode 100755
index 51367d3d5fd..00000000000
--- a/Build/source/texk/texlive/iniomega
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec omega -ini "$@"
diff --git a/Build/source/texk/texlive/initex b/Build/source/texk/texlive/initex
deleted file mode 100755
index 61bead6aa54..00000000000
--- a/Build/source/texk/texlive/initex
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec tex -ini "$@"
diff --git a/Build/source/texk/texlive/jadetex b/Build/source/texk/texlive/jadetex
deleted file mode 100755
index 7f76db21a1b..00000000000
--- a/Build/source/texk/texlive/jadetex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich jadetex.fmt`" || fmtutil --byfmt jadetex
-exec tex -fmt=jadetex -progname=jadetex "$@"
diff --git a/Build/source/texk/texlive/jadetex.bat b/Build/source/texk/texlive/jadetex.bat
deleted file mode 100755
index acc883ea161..00000000000
--- a/Build/source/texk/texlive/jadetex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=jadetex -progname=jadetex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/lambda b/Build/source/texk/texlive/lambda
deleted file mode 100755
index 3de1bfbd787..00000000000
--- a/Build/source/texk/texlive/lambda
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich lambda.oft`" || fmtutil --byfmt lambda
-exec omega -oft=lambda "$@"
diff --git a/Build/source/texk/texlive/lamstex.bat b/Build/source/texk/texlive/lamstex.bat
deleted file mode 100755
index 5066309a762..00000000000
--- a/Build/source/texk/texlive/lamstex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=lamstex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/latex b/Build/source/texk/texlive/latex
deleted file mode 100755
index 77b37498ac5..00000000000
--- a/Build/source/texk/texlive/latex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich latex.fmt`" || fmtutil --byfmt latex
-exec tex -fmt=latex "$@"
diff --git a/Build/source/texk/texlive/lollipop.bat b/Build/source/texk/texlive/lollipop.bat
deleted file mode 100755
index 50338c2ca82..00000000000
--- a/Build/source/texk/texlive/lollipop.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=lollipop %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/mex b/Build/source/texk/texlive/mex
deleted file mode 100755
index 9d511814841..00000000000
--- a/Build/source/texk/texlive/mex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich mex.fmt`" || fmtutil --byfmt mex
-exec tex -fmt=mex "$@"
diff --git a/Build/source/texk/texlive/mex-pl.bat b/Build/source/texk/texlive/mex-pl.bat
deleted file mode 100755
index 40b4b4763f3..00000000000
--- a/Build/source/texk/texlive/mex-pl.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=mex-pl -progname=mex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/mex.bat b/Build/source/texk/texlive/mex.bat
deleted file mode 100755
index 38002e6e9e7..00000000000
--- a/Build/source/texk/texlive/mex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=mex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/mllatex b/Build/source/texk/texlive/mllatex
deleted file mode 100755
index 35602c40c96..00000000000
--- a/Build/source/texk/texlive/mllatex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich mllatex.fmt`" || fmtutil --byfmt mllatex
-exec tex -mltex -fmt=mllatex "$@"
diff --git a/Build/source/texk/texlive/mllatex.bat b/Build/source/texk/texlive/mllatex.bat
deleted file mode 100755
index 0239612f045..00000000000
--- a/Build/source/texk/texlive/mllatex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -mltex -fmt=mllatex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/mltex b/Build/source/texk/texlive/mltex
deleted file mode 100755
index ddfdaa21a68..00000000000
--- a/Build/source/texk/texlive/mltex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich mltex.fmt`" || fmtutil --byfmt mltex
-exec tex -mltex -fmt=mltex "$@"
diff --git a/Build/source/texk/texlive/mltex.bat b/Build/source/texk/texlive/mltex.bat
deleted file mode 100755
index 0812e9b2061..00000000000
--- a/Build/source/texk/texlive/mltex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -mltex -fmt=mltex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/mptopdf b/Build/source/texk/texlive/mptopdf
deleted file mode 100755
index 8a6bd588233..00000000000
--- a/Build/source/texk/texlive/mptopdf
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/usr/bin/env perl
-# MikTeX users can set environment variable TEXSYSTEM to "miktex".
-
-#D \module
-#D [ file=mptopdf.pl,
-#D version=2000.05.29,
-#D title=converting MP to PDF,
-#D subtitle=\MPTOPDF,
-#D author=Hans Hagen,
-#D date=\currentdate,
-#D url=www.pragma-ade.nl,
-#D copyright={PRAGMA ADE / Hans Hagen \& Ton Otten}]
-#C
-#C This module is part of the \CONTEXT\ macro||package and is
-#C therefore copyrighted by \PRAGMA. See licen-en.pdf for
-#C details.
-
-# use File::Copy ; # not in every perl
-
-use Config ;
-use Getopt::Long ;
-use strict ;
-
-$Getopt::Long::passthrough = 1 ; # no error message
-$Getopt::Long::autoabbrev = 1 ; # partial switch accepted
-
-my $Help = my $Latex = 0 ;
-
-&GetOptions
- ( "help" => \$Help ,
- "latex" => \$Latex ) ;
-
-my $program = "MPtoPDF 1.2" ;
-my $pattern = $ARGV[0] ;
-my $done = 0 ;
-my $report = '' ;
-my $latexswitch = " --tex=latex --format=latex " ;
-
-my $dosish = ($Config{'osname'} =~ /dos|mswin/io) ;
-my $miktex = ($ENV{"TEXSYSTEM"} =~ /miktex/io);
-
-my @files ;
-my $command = "" ;
-
-sub CopyFile # agressive copy, works for open files like in gs
- { my ($From,$To) = @_ ;
- return unless open(INP,"<$From") ; binmode INP ;
- return unless open(OUT,">$To") ; binmode OUT ;
- while (<INP>) { print OUT $_ }
- close (INP) ;
- close (OUT) }
-
-if (($pattern eq '')||($Help))
- { print "\n$program : provide MP output file (or pattern)\n" ;
- exit }
-elsif ($pattern =~ /\.mp$/io)
- { shift @ARGV ; my $rest = join(" ", @ARGV) ;
- if (open(INP,$pattern))
- { while (<INP>)
- { if (/(documentstyle|documentclass|begin\{document\})/io)
- { $Latex = 1 ; last } }
- close (INP) }
- if ($Latex)
- { $rest .= " $latexswitch" }
- my $error = system ("texexec --mptex $rest $pattern") ;
- if ($error)
- { print "\n$program : error while processing mp file\n" ; exit }
- else
- { $pattern =~ s/\.mp$//io ;
- @files = glob "$pattern.*" } }
-elsif (-e $pattern)
- { @files = ($pattern) }
-elsif ($pattern =~ /.\../o)
- { @files = glob "$pattern" }
-else
- { $pattern .= '.*' ;
- @files = glob "$pattern" }
-
-foreach my $file (@files)
- { $_ = $file ;
- if (s/\.(\d+|mps)$// && -e $file)
- { if ($miktex)
- { if ($dosish)
- { $command = "pdfetex &mptopdf" }
- else
- { $command = "pdfetex \\&mptopdf" } }
- else
- { $command = "pdfetex -progname=pdfetex -efmt=mptopdf" }
- if ($dosish)
- { system ("$command \\relax $file") }
- else
- { system ("$command \\\\relax $file") }
- rename ("$_.pdf", "$_-$1.pdf") ;
- if (-e "$_.pdf") { CopyFile ("$_.pdf", "$_-$1.pdf") }
- if ($done) { $report .= " +" }
- $report .= " $_-$1.pdf" ;
- ++$done } }
-
-if ($done)
- { print "\n$program : $pattern is converted to$report\n" }
-else
- { print "\n$program : no filename matches $pattern\n" }
diff --git a/Build/source/texk/texlive/nts b/Build/source/texk/texlive/nts
deleted file mode 100755
index 36c51231c35..00000000000
--- a/Build/source/texk/texlive/nts
+++ /dev/null
@@ -1,280 +0,0 @@
-#!/bin/sh
-
-########################################
-#
-# nts: NTS wrapper script to safely call NTS in Java.
-#
-# Copyright (C) 2001 Bernd Raichle. Public domain.
-#
-#
-# History:
-# 2001/09/13 br v0.1
-# first version
-# 2001/09/14 br v0.2
-# added -log-extension, -dvi-extension, version()
-# debugged and extended argument parsing
-
-version=0.2
-
-######################################################################
-# abort(errmsg)
-# print `errmsg' to stderr and exit with error code 1
-######################################################################
-abort()
-{
- echo "$progname: $1." >&2
- exit 1
-}
-
-###############################################################################
-# version()
-# display version numbers and exit
-###############################################################################
-version()
-{
- echo "$progname: NTS wrapper script $version"
- echo "--- NTS is using the following Java JDK version:"
- java -version
- echo "--- NTS and this script is using the kpathsea library:"
- kpsewhich -version
- exit 1
-}
-
-###############################################################################
-# help()
-# display help message and exit
-###############################################################################
-help()
-{
- cat <<END_OF_HELP
-Usage: $progname [OPTION]... [TEXNAME[.tex]] [COMMANDS]
- or: $progname [OPTION]... \FIRST-LINE
- or: $progname [OPTION]... &FMT ARGS
-END_OF_HELP
-
- cat <<'END_OF_HELP'
- Run NTS on TEXNAME, usually creating TEXNAME.dvi.
- Any remaining COMMANDS are processed as NTS input, after TEXNAME is read.
- If an existing .fmt file is given using &FMT or the -fmt=FMT option, use it.
- Else use `NAME.fmt', where NAME is the program invocation name, most
- commonly `tex'. To be a bit smart, if the given .fmt does not exist and
- contains the string `nts', the format file search is tried with `nts'
- removed or replaced by the string `tex'.
-
- Alternatively, if the first non-option argument begins with a backslash,
- interpret all non-option arguments as a line of TeX input.
-
- Alternatively, if the first non-option argument begins with a &, the
- next word is taken as the FMT to read, overriding all else. Any
- remaining arguments are processed as above.
-
- If no arguments or options are specified, prompt for input.
-
--fmt=FMTNAME use FMTNAME instead of program name
--ini be NTS' initex, for dumping formats
--interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/
- scrollmode/errorstopmode)
--kpathsea-debug=NUMBER set path searching debugging flags according to
- the bits of NUMBER
--log-extension=EXT use EXT as the file name extension of the protocol
- file (default is `log')
--dvi-extension=EXT use EXT as the file name extension of the .dvi file
- (default is `dvi')
--progname=STRING set program (and fmt) name to STRING
--help display this help and exit
--version output version information and exit
-
-Email bug reports to nts@dante.de.
-END_OF_HELP
-
- exit
-}
-
-###############################################################################
-# run_nts()
-# run NTS by calling java with NTS Jar file and appropriate arguments
-###############################################################################
-run_nts()
-{
- #echo "run_nts(>$common_args< / >$rest_args<)"
- java $common_args -jar "$jarloc" $rest_args
-}
-
-########################################
-#
-# Initialize variables
-#
-
-progname=`basename $0`
-
-prog_name=''
-format_name="$progname"
-interaction_mode=''
-log_extension=''
-dvi_extension=''
-
-########################################
-#
-# Argument parsing ...
-#
-while
- test $# -gt 0 || break
- case "$1" in
- --progname=*|-progname=*)
- prog_name=`expr "$1" : '-*progname=\(.*\)'`
- format_name="$prog_name"
- ;;
- -fmt=*|--fmt=*)
- format_name=`expr "$1" : '-*fmt=\(.*\)'` ;;
- \&*)
- format_name=`expr "$1" : '\&\(.*\)'` ;;
- --ini|-ini)
- format_name='' ;;
- --help|-help)
- help ;;
- --version|-version)
- version ;;
- --interaction=*|-interaction=*)
- interaction_mode=`expr "$1" : '-*interaction=\(.*\)'` ;;
- --kpathsea-debug=*|-kpathsea-debug=*)
- kpathsea_debug=`expr "$1" : '-*kpathsea-debug=\(.*\)'`
- export KPATHSEA_DEBUG
- KPATHSEA_DEBUG="$kpathsea_debug"
- ;;
- --mktex=*|-mktex=*) ;;
- --no-mktex=*|-no-mktex=*) ;;
- --log-extension=*|-log-extension=*)
- log_extension=`expr "$1" : '-*log-extension=\(.*\)'` ;;
- --dvi-extension=*|-dvi-extension=*)
- dvi_extension=`expr "$1" : '-*dvi-extension=\(.*\)'` ;;
- "") break ;;
- *) break ;;
- esac
-do test $# -gt 0 && shift; done
-
-########################################
-#
-# Test installed Java version ...
-#
-java_version=`java -version 2>&1 | head -1 | sed 's/^.*version "\(.*\)"/\1/'`
-
-case "$java_version" in
- 0.*|1.0*|1.1*)
- echo 'NTS needs Java JDK 1.2 or newer to work,'
- echo "Your standard Java version $java_version is too old."
- echo 'Please update to JDK 1.2 or 1.3 and make sure that the'
- echo 'command >java< points to the newer Java version.'
- exit 1
- ;;
- 1.2*|1.3*)
- ;;
- "")
- echo 'Warning: Your standard Java version supplies no version number'
- echo ' I proceed with fingers crossed ...'
- ;;
- *)
- # Can we assume that NTS will run with JDK > 1.3?
- ;;
-esac
-
-########################################
-#
-# Locate NTS Jar file ...
-#
-jarfile=nts.rt.jar
-jarloc=`kpsewhich --format='other binary files' --progname=nts "$jarfile"`
-
-test -f "$jarloc" || abort "NTS Java Executable $jarfile not found"
-
-########################################
-#
-# Locate given NTS format file
-#
-fmtloc=''
-
-if test ! -z "$format_name"; then
-
- format_names="$format_name"
-
- # This script wants to be smart:
- # If the format name contains the string "nts",
- # add more possible format names where "nts" is removed
- # or replaced by "tex".
- # If this script is called "nts", the format "tex" can be found,
- # for "ntslatex" the format "latex" can be found etc.
- #
- case "$format_name" in
- nts*)
- new_format_name=`echo "$format_name" | sed 's/^nts//'`
- format_names="$format_names $new_format_name"
- new_format_name=`echo "$format_name" | sed 's/nts/tex/'`
- format_names="$format_names $new_format_name"
- ;;
- *nts)
- new_format_name=`echo "$format_name" | sed 's/nts$//'`
- format_names="$format_names $new_format_name"
- new_format_name=`echo "$format_name" | sed 's/nts/tex/'`
- format_names="$format_names $new_format_name"
- ;;
- *nts*)
- new_format_name=`echo "$format_name" | sed 's/nts/tex/'`
- format_names="$format_names $new_format_name"
- ;;
- esac
-
- #echo "fmtnames= $format_names."
-
- for fmt in $format_names; do
-
- fmtloc=`kpsewhich --format='other binary files' --progname=nts "${fmt}.nfmt"`
-
- #echo "FmtLoc: $fmt => $fmtloc"
-
- if test ! -z "$fmtloc" -a -f "$fmtloc"; then
- #echo "found"
- format_name="$fmt"
- break;
- fi
- done
-
-fi
-
-#
-# A format file name was given, thus we are not NTS' initex (-ini).
-# If we can't find the NTS .fmt file, it is better to abort
-# than leaving the user with an unexpected * prompt...
-#
-if test ! -z "$format_name" -a -z "$fmtloc"; then
- abort "Can't find requested NTS .fmt file >$format_name<"
-fi
-
-########################################
-#
-# Create Argument list for NTS
-#
-common_args=''
-rest_args=''
-
-#
-# 1. Create special arguments
-#
-test -z "$fmtloc" || \
- common_args="$common_args -Dnts.fmt=$fmtloc"
-test -z "$interaction_mode" || \
- common_args="$common_args -Dnts.interaction=$interaction_mode"
-test -z "$prog_name" || \
- common_args="$common_args -Dnts.progname=$prog_name"
-test -z "$log_extension" || \
- common_args="$common_args -Dnts.log.extension=$log_extension"
-test -z "$dvi_extension" || \
- common_args="$common_args -Dnts.dvi.extension=$dvi_extension"
-
-#
-# 2. Add all remaining arguments from command line
-#
-rest_args="$@"
-
-run_nts
-
-#
-# -- end of file --
diff --git a/Build/source/texk/texlive/pdfcslatex b/Build/source/texk/texlive/pdfcslatex
deleted file mode 100755
index f20e7013b4c..00000000000
--- a/Build/source/texk/texlive/pdfcslatex
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-pdftex -progname=pdfcslatex -default-translate-file=il2-cs "$@"
diff --git a/Build/source/texk/texlive/pdfcslatex.bat b/Build/source/texk/texlive/pdfcslatex.bat
deleted file mode 100755
index 5f06b58c7bf..00000000000
--- a/Build/source/texk/texlive/pdfcslatex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdftex -progname=pdfcslatex -default-translate-file=cp1250cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdfcslatexd.bat b/Build/source/texk/texlive/pdfcslatexd.bat
deleted file mode 100755
index a40a218baa8..00000000000
--- a/Build/source/texk/texlive/pdfcslatexd.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdftex -progname=pdfcslatex -default-translate-file=cp852-cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdfcslatexi.bat b/Build/source/texk/texlive/pdfcslatexi.bat
deleted file mode 100755
index 697aa466919..00000000000
--- a/Build/source/texk/texlive/pdfcslatexi.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdftex -progname=pdfcslatex -default-translate-file=il2-cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdfcslatexk.bat b/Build/source/texk/texlive/pdfcslatexk.bat
deleted file mode 100755
index 5527b74bcdd..00000000000
--- a/Build/source/texk/texlive/pdfcslatexk.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdftex -progname=pdfcslatex -default-translate-file=kam-cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdfcsplain b/Build/source/texk/texlive/pdfcsplain
deleted file mode 100755
index e120eed95fb..00000000000
--- a/Build/source/texk/texlive/pdfcsplain
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-pdftex -progname=pdfcsplain -default-translate-file=il2-cs "$@"
diff --git a/Build/source/texk/texlive/pdfcsplain.bat b/Build/source/texk/texlive/pdfcsplain.bat
deleted file mode 100755
index 071a7e24d01..00000000000
--- a/Build/source/texk/texlive/pdfcsplain.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdftex -progname=pdfcsplain -default-translate-file=cp1250cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdfcsplaind.bat b/Build/source/texk/texlive/pdfcsplaind.bat
deleted file mode 100755
index f3806c9050f..00000000000
--- a/Build/source/texk/texlive/pdfcsplaind.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdftex -progname=pdfcsplain -default-translate-file=cp852-cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdfcsplaini.bat b/Build/source/texk/texlive/pdfcsplaini.bat
deleted file mode 100755
index a4974a5e787..00000000000
--- a/Build/source/texk/texlive/pdfcsplaini.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdftex -progname=pdfcsplain -default-translate-file=il2-cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdfcsplaink.bat b/Build/source/texk/texlive/pdfcsplaink.bat
deleted file mode 100755
index 8a1288234d3..00000000000
--- a/Build/source/texk/texlive/pdfcsplaink.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdftex -progname=pdfcsplain -default-translate-file=kam-cs %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdfeinitex b/Build/source/texk/texlive/pdfeinitex
deleted file mode 100755
index 7a20dbf77ab..00000000000
--- a/Build/source/texk/texlive/pdfeinitex
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-pdfetex -ini "$@"
diff --git a/Build/source/texk/texlive/pdfemex-pl.bat b/Build/source/texk/texlive/pdfemex-pl.bat
deleted file mode 100755
index c376d0f119c..00000000000
--- a/Build/source/texk/texlive/pdfemex-pl.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdfetex -efmt=pdfemex-pl -progname=pdfemex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdfevirtex b/Build/source/texk/texlive/pdfevirtex
deleted file mode 100755
index dbb0348fa65..00000000000
--- a/Build/source/texk/texlive/pdfevirtex
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-pdfetex "$@"
diff --git a/Build/source/texk/texlive/pdfinitex b/Build/source/texk/texlive/pdfinitex
deleted file mode 100755
index f8929ef40d4..00000000000
--- a/Build/source/texk/texlive/pdfinitex
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-pdftex -ini "$@"
diff --git a/Build/source/texk/texlive/pdfjadetex b/Build/source/texk/texlive/pdfjadetex
deleted file mode 100755
index 34071629fd6..00000000000
--- a/Build/source/texk/texlive/pdfjadetex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich pdfjadetex.fmt`" || fmtutil --byfmt pdfjadetex
-exec pdftex -fmt=pdfjadetex -progname=pdfjadetex "$@"
diff --git a/Build/source/texk/texlive/pdfjadetex.bat b/Build/source/texk/texlive/pdfjadetex.bat
deleted file mode 100755
index bde10b5c556..00000000000
--- a/Build/source/texk/texlive/pdfjadetex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdftex -fmt=pdfjadetex -progname=jadetex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdflatex b/Build/source/texk/texlive/pdflatex
deleted file mode 100755
index 6784a74d4cb..00000000000
--- a/Build/source/texk/texlive/pdflatex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich pdflatex.fmt`" || fmtutil --byfmt pdflatex
-exec pdftex -fmt=pdflatex -progname=pdflatex "$@"
diff --git a/Build/source/texk/texlive/pdfmex b/Build/source/texk/texlive/pdfmex
deleted file mode 100755
index 0a945e39be2..00000000000
--- a/Build/source/texk/texlive/pdfmex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich pdfmex.fmt`" || fmtutil --byfmt pdfmex
-exec pdftex -fmt=pdfmex "$@"
diff --git a/Build/source/texk/texlive/pdfmex-pl.bat b/Build/source/texk/texlive/pdfmex-pl.bat
deleted file mode 100755
index 11b22ad0e75..00000000000
--- a/Build/source/texk/texlive/pdfmex-pl.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdftex -fmt=pdfmex-pl -progname=pdfmex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdfmex.bat b/Build/source/texk/texlive/pdfmex.bat
deleted file mode 100755
index 1d88d00abbc..00000000000
--- a/Build/source/texk/texlive/pdfmex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdftex -fmt=pdfmex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdfplatex b/Build/source/texk/texlive/pdfplatex
deleted file mode 100755
index ea74ba531ff..00000000000
--- a/Build/source/texk/texlive/pdfplatex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich pdfplatex.fmt`" || fmtutil --byfmt pdfplatex
-exec pdftex -fmt=pdfplatex "$@"
diff --git a/Build/source/texk/texlive/pdfplatex-pl.bat b/Build/source/texk/texlive/pdfplatex-pl.bat
deleted file mode 100755
index 38ce2b0f8a6..00000000000
--- a/Build/source/texk/texlive/pdfplatex-pl.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdftex -fmt=pdfplatex-pl -progname=pdfplatex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdftexinfo b/Build/source/texk/texlive/pdftexinfo
deleted file mode 100755
index a61d5650e47..00000000000
--- a/Build/source/texk/texlive/pdftexinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich pdftexinfo.fmt`" || fmtutil --byfmt pdftexinfo
-exec pdftex -fmt=pdftexinfo -progname=pdftex "$@"
diff --git a/Build/source/texk/texlive/pdftexinfo.bat b/Build/source/texk/texlive/pdftexinfo.bat
deleted file mode 100755
index e7ffbbdc835..00000000000
--- a/Build/source/texk/texlive/pdftexinfo.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-pdftex -fmt=pdftexinfo -progname=pdftex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/pdfvirtex b/Build/source/texk/texlive/pdfvirtex
deleted file mode 100755
index 36bd7b92f20..00000000000
--- a/Build/source/texk/texlive/pdfvirtex
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-pdftex "$@"
diff --git a/Build/source/texk/texlive/pdfxmltex b/Build/source/texk/texlive/pdfxmltex
deleted file mode 100755
index 37062dabe27..00000000000
--- a/Build/source/texk/texlive/pdfxmltex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich pdfxmltex.fmt`" || fmtutil --byfmt pdfxmltex
-exec pdftex -fmt=pdfxmltex -progname=pdfxmltex "$@"
diff --git a/Build/source/texk/texlive/physe b/Build/source/texk/texlive/physe
deleted file mode 100755
index f7cec3ab2ad..00000000000
--- a/Build/source/texk/texlive/physe
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich physe.fmt`" || fmtutil --byfmt physe
-exec tex -fmt=physe "$@"
diff --git a/Build/source/texk/texlive/physe.bat b/Build/source/texk/texlive/physe.bat
deleted file mode 100755
index 11c75419b62..00000000000
--- a/Build/source/texk/texlive/physe.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=physe %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/phyzzx b/Build/source/texk/texlive/phyzzx
deleted file mode 100755
index 8991f625ebf..00000000000
--- a/Build/source/texk/texlive/phyzzx
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich phyzzx.fmt`" || fmtutil --byfmt phyzzx
-exec tex -fmt=phyzzx "$@"
diff --git a/Build/source/texk/texlive/phyzzx.bat b/Build/source/texk/texlive/phyzzx.bat
deleted file mode 100755
index 4a5382ed748..00000000000
--- a/Build/source/texk/texlive/phyzzx.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=phyzzx %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/platex b/Build/source/texk/texlive/platex
deleted file mode 100755
index ae37b3f77f1..00000000000
--- a/Build/source/texk/texlive/platex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich platex.fmt`" || fmtutil --byfmt platex
-exec tex -fmt=platex -progname=latex "$@"
diff --git a/Build/source/texk/texlive/platex-pl.bat b/Build/source/texk/texlive/platex-pl.bat
deleted file mode 100755
index 3d0b26c0bf6..00000000000
--- a/Build/source/texk/texlive/platex-pl.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=platex-pl -progname=platex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/platex.bat b/Build/source/texk/texlive/platex.bat
deleted file mode 100755
index 3f50c3d5bca..00000000000
--- a/Build/source/texk/texlive/platex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=platex -progname=latex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/startex b/Build/source/texk/texlive/startex
deleted file mode 100755
index a9da6fdcab8..00000000000
--- a/Build/source/texk/texlive/startex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich startex.fmt`" || fmtutil --byfmt startex
-exec tex -fmt=startex ${1+"$@"}
diff --git a/Build/source/texk/texlive/startex.bat b/Build/source/texk/texlive/startex.bat
deleted file mode 100755
index dfeb244005b..00000000000
--- a/Build/source/texk/texlive/startex.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=startex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/texinfo b/Build/source/texk/texlive/texinfo
deleted file mode 100755
index 3fad301b93e..00000000000
--- a/Build/source/texk/texlive/texinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich texinfo.fmt`" || fmtutil --byfmt texinfo
-exec tex -fmt=texinfo -progname=tex "$@"
diff --git a/Build/source/texk/texlive/texinfo.bat b/Build/source/texk/texlive/texinfo.bat
deleted file mode 100755
index cfe5f8dde34..00000000000
--- a/Build/source/texk/texlive/texinfo.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=texinfo -progname=tex %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/texsis b/Build/source/texk/texlive/texsis
deleted file mode 100755
index a7f991b6b48..00000000000
--- a/Build/source/texk/texlive/texsis
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich texsis.fmt`" || fmtutil --byfmt texsis
-exec tex -fmt=texsis "$@"
diff --git a/Build/source/texk/texlive/texsis.bat b/Build/source/texk/texlive/texsis.bat
deleted file mode 100755
index ea99667b66d..00000000000
--- a/Build/source/texk/texlive/texsis.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=texsis %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/text1 b/Build/source/texk/texlive/text1
deleted file mode 100755
index 9f5e1c7a55c..00000000000
--- a/Build/source/texk/texlive/text1
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich text1.fmt`" || fmtutil --byfmt text1
-exec tex -fmt=text1 ${1+"$@"}
diff --git a/Build/source/texk/texlive/text1.bat b/Build/source/texk/texlive/text1.bat
deleted file mode 100755
index ec8933fba73..00000000000
--- a/Build/source/texk/texlive/text1.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-tex -fmt=text1 %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/Build/source/texk/texlive/virmf b/Build/source/texk/texlive/virmf
deleted file mode 100755
index 8f1052f30d1..00000000000
--- a/Build/source/texk/texlive/virmf
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-mf -ini "$@"
diff --git a/Build/source/texk/texlive/virmpost b/Build/source/texk/texlive/virmpost
deleted file mode 100755
index 8cacb7cd826..00000000000
--- a/Build/source/texk/texlive/virmpost
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-mpost "$@"
diff --git a/Build/source/texk/texlive/viromega b/Build/source/texk/texlive/viromega
deleted file mode 100755
index 6e27d3b8310..00000000000
--- a/Build/source/texk/texlive/viromega
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-omega "$@"
diff --git a/Build/source/texk/texlive/virtex b/Build/source/texk/texlive/virtex
deleted file mode 100755
index 7d74eb3491f..00000000000
--- a/Build/source/texk/texlive/virtex
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec tex "$@"
diff --git a/Build/source/texk/texlive/xeinitex b/Build/source/texk/texlive/xeinitex
deleted file mode 100755
index 51f11e20ffa..00000000000
--- a/Build/source/texk/texlive/xeinitex
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-xetex -ini "$@"
diff --git a/Build/source/texk/texlive/xelatex b/Build/source/texk/texlive/xelatex
deleted file mode 100755
index 2b0c302abb6..00000000000
--- a/Build/source/texk/texlive/xelatex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich xelatex.fmt`" || fmtutil --byfmt xelatex
-exec xetex -fmt=xelatex -progname=xelatex "$@"
diff --git a/Build/source/texk/texlive/xevirtex b/Build/source/texk/texlive/xevirtex
deleted file mode 100755
index 899098ebcc3..00000000000
--- a/Build/source/texk/texlive/xevirtex
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-xetex "$@"
diff --git a/Build/source/texk/texlive/xmltex b/Build/source/texk/texlive/xmltex
deleted file mode 100755
index 1383c10748b..00000000000
--- a/Build/source/texk/texlive/xmltex
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-test -f "`kpsewhich xmltex.fmt`" || fmtutil --byfmt xmltex
-exec tex -fmt=xmltex -progname=xmltex "$@"
diff --git a/Build/source/texk/web2c/web2c/ChangeLog b/Build/source/texk/web2c/web2c/ChangeLog
index 4500ab8cddd..490c000ba55 100644
--- a/Build/source/texk/web2c/web2c/ChangeLog
+++ b/Build/source/texk/web2c/web2c/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-14 Karl Berry <karl@tug.org>
+
+ * convert.bat: remove, obsolete.
+ * Makefile.am: don't distribute it.
+
2009-12-04 Peter Breitenlohner <peb@mppmu.mpg.de>
* coerce.h: Declare gettexstring().
diff --git a/Build/source/texk/web2c/web2c/Makefile.am b/Build/source/texk/web2c/web2c/Makefile.am
index 9dfa723da2c..c60be49912f 100644
--- a/Build/source/texk/web2c/web2c/Makefile.am
+++ b/Build/source/texk/web2c/web2c/Makefile.am
@@ -68,8 +68,3 @@ stamp-makecpool: makecpool$(EXEEXT)
echo timestamp >$@
CLEANFILES = $(nodist_noinst_DATA)
-
-## Obsolete ??
-##
-EXTRA_DIST = convert.bat
-
diff --git a/Build/source/texk/web2c/web2c/convert.bat b/Build/source/texk/web2c/web2c/convert.bat
deleted file mode 100644
index 7cd54b1429e..00000000000
--- a/Build/source/texk/web2c/web2c/convert.bat
+++ /dev/null
@@ -1,77 +0,0 @@
-@echo off
-set objdir=%1
-set srcdir=.
-set win32seddir=%srcdir%\..\msvc
-set perldir=%srcdir%\..\msvc
-rem set PATH=%srcdir%\..\kpathsea\%objdir%;%srcdir%\..\..\gnu\bin;%PATH%
-if NOT %2==bibtex goto mfmp
- cat %srcdir%\web2c\common.defines %2.p | %srcdir%\web2c\%objdir%\web2c -hcpascal.h -c%2 | sed -f %srcdir%/web2c/cvtbib.sed | %srcdir%\web2c\%objdir%\fixwrites %2 > %2.c
- cat %srcdir%\bibtex.h | sed -e "1,$s/(buftype)//g" | sed -e "1,$s/(pdstype)//g" > %srcdir%\bibtex.h.new
- copy %srcdir%\bibtex.h.new %srcdir%\bibtex.h && del /f %srcdir%\bibtex.h.new
- goto exit
-:mfmp
-if NOT %2==mf goto mp
- cat %srcdir%\web2c\common.defines %srcdir%\web2c\texmf.defines %srcdir%\web2c\mfmp.defines %2.p | sed -f %srcdir%/web2c/cvtmf1.sed | %srcdir%\web2c\%objdir%\web2c -htexmfmp.h -m -c%2coerce | sed -f %srcdir%/web2c/cvtmf2.sed | %srcdir%\web2c\%objdir%\fixwrites %2 | perl %perldir%\splitup.pl --name=%2 --dfile > %2.c
-rem so timestamps are definitely later, to avoid make weirdness
- copy %srcdir%\%2coerce.h+%srcdir%\web2c\coerce.h %srcdir%\x%2coerce.h
- sed -f %win32seddir%\mfmp.sed %srcdir%\x%2coerce.h > %srcdir%\%2coerce.h
- del /f %srcdir%\x%2coerce.h
- goto exit
-:mp
-if NOT %2==mp goto omega
- cat %srcdir%\web2c\common.defines %srcdir%\web2c\texmf.defines %srcdir%\web2c\mfmp.defines %2.p | sed -f %srcdir%/web2c/cvtmf1.sed | %srcdir%\web2c\%objdir%\web2c -htexmfmp.h -m -c%2coerce | sed -f %srcdir%/web2c/cvtmf2.sed | %srcdir%\web2c\%objdir%\fixwrites %2 | perl %perldir%\splitup.pl --name=%2 --dfile > %2.c
- copy %srcdir%\%2coerce.h+%srcdir%\web2c\coerce.h %srcdir%\x%2coerce.h
- sed -f %win32seddir%\mfmp.sed %srcdir%\x%2coerce.h > %srcdir%\%2coerce.h
- del /f %srcdir%\x%2coerce.h
- goto exit
-:omega
-if NOT %2==omega goto eomega
-goto omega_or_eomega_or_aleph
-:eomega
-if NOT %2==eomega goto aleph
-goto omega_or_eomega_or_aleph
-:aleph
-if NOT %2==aleph goto pdf
-:omega_or_eomega_or_aleph
- cat %srcdir%\web2c\common.defines %srcdir%\web2c\texmf.defines %srcdir%\%2dir\%2.defines %2.p | %srcdir%\web2c\%objdir%\web2c -htexmfmp.h -t -c%2coerce | %srcdir%\web2c\%objdir%\fixwrites -t %2 | perl %perldir%\splitup.pl --name=%2 --dfile > %2.c
- copy .\%2coerce.h+%srcdir%\web2c\coerce.h .\x%2coerce.h
- copy .\x%2coerce.h .\%2coerce.h
-rem sed -f %win32seddir%\tex-deopt.sed < %srcdir%\%2.c > %srcdir%\%2.c.opt
-rem copy %srcdir%\%2.c.opt %srcdir%\%2.c && del /f %srcdir%\%2.c.opt
- del /f .\x%2coerce.h
- goto exit
-:pdf
-if NOT %2==pdftex goto pdfetex
-goto pdftex_or_pdfetex
-:pdfetex
-goto pdftex_or_pdfetex
-:pdftex_or_pdfetex
- cat %srcdir%\web2c\common.defines %srcdir%\web2c\texmf.defines %srcdir%\%2dir\%2.defines %2.p | %srcdir%\web2c\%objdir%\web2c -htexmfmp.h -t -c%2coerce | %srcdir%\web2c\%objdir%\fixwrites -t %2 | perl %perldir%\splitup.pl --name=%2 --dfile > %2.c
- copy %srcdir%\%2coerce.h+%srcdir%\web2c\coerce.h %srcdir%\x%2coerce.h
- copy %srcdir%\x%2coerce.h %srcdir%\%2coerce.h
- del /f %srcdir%\x%2coerce.h
-rem sed -f %win32seddir%\tex-deopt.sed < %srcdir%\%2.c > %srcdir%\%2.c.opt
-rem copy %srcdir%\%2.c.opt %srcdir%\%2.c && del /f %srcdir%\%2.c.opt
- goto exit
-:tex
-if NOT %2==tex goto etex
-goto tex_or_etex
-:etex
-if NOT %2==etex goto vftovp
-:tex_or_etex
- cat %srcdir%\web2c\common.defines %srcdir%\web2c\texmf.defines %2.p | %srcdir%\web2c\%objdir%\web2c -htexmfmp.h -t -c%2coerce | %srcdir%\web2c\%objdir%\fixwrites -t %2 | perl %perldir%\splitup.pl --name=%2 --dfile > %2.c
- copy %srcdir%\%2coerce.h+%srcdir%\web2c\coerce.h %srcdir%\x%2coerce.h
- copy %srcdir%\x%2coerce.h %srcdir%\%2coerce.h
- del /f %srcdir%\x%2coerce.h
-rem sed -f %win32seddir%\tex-deopt.sed < %srcdir%\%2.c > %srcdir%\%2.c.opt
-rem copy %srcdir%\%2.c.opt %srcdir%\%2.c && del /f %srcdir%\%2.c.opt
- goto exit
-:vftovp
-REM if NOT %2==vftovp goto else
-REM cat %srcdir%\web2c\common.defines %2.p | %srcdir%\web2c\%objdir%\web2c -hcpascal.h -c%2 | sed -f %srcdir%/web2c/cvtvf2vp.sed | %srcdir%\web2c\%objdir%\fixwrites %2 > %2.c
-REM goto exit:
-:else
- cat %srcdir%\web2c\common.defines %2.p | %srcdir%\web2c\%objdir%\web2c -hcpascal.h -c%2 | %srcdir%\web2c\%objdir%\fixwrites %2 > %2.c
-:exit
- if EXIST %2d.h touch %2d.h
- echo 'Conversion done !'