[tlbuild] duplicates in win32

Reinhard Kotucha reinhard.kotucha at web.de
Mon Jun 14 16:16:14 CEST 2010


On 14 June 2010 Vladimir Volovich wrote:

 > "TT" == T T writes:
 > 
 >  >> the following executables exist in the Master/win32 directory as
 >  >> both an EXE and a BAT file:
 > 
 >  TT> Didn't you ask that question already :)
 >  TT> http://tug.org/mailman/htdig/tlbuild/2009q3/001103.html
 > 
 > yes, sorry.
 > 
 >  >> in all cases, the EXE file appears to be the same generic startup
 >  >> script.  is it needed to have a bat file too?
 > 
 >  TT> I deleted asy.bat, it wasn't needed anymore.
 > 
 > good. :)
 > 
 >  TT> The rest of these batch files are original programs.
 > 
 > i see that some are just wrappers around perl, e.g.
 > 
 > =========================
 > $ diff -uw i386-linux/psmerge win32/psmerge.bat
 > --- i386-linux/psmerge	2010-05-27 05:57:03.708614468 +0400
 > +++ win32/psmerge.bat	2010-05-27 06:22:07.708603360 +0400
 > @@ -1,4 +1,9 @@
 > -#!/usr/bin/env perl
 > + at rem = '-*- Perl -*-
 > + at echo off
 > +perl -S %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
 > +goto endofperl
 > +';
 > +
 >  # psmerge: merge PostScript files produced by same application and setup
 >  # usage: psmerge [-oout.ps] [-thorough] file1.ps file2.ps ...
 >  #
 > @@ -82,4 +87,6 @@
 >  print @trailer;
 >  
 >  exit 0;
 > +__END__
 > +:endofperl
 > 
 > =========================
 > 
 > so at least in these cases it should be possible to remove the
 > batch files, if there will be a *.pl script with the same name in
 > the texmf tree?

Yes, but there isn't such a Perl script in the texmf tree.  The reason
is that the psutils distribution contains Perl scripts and programs
written in C.  Thus, they come from the Build tree.
 
 > (e.g. win32/mptopdf.exe is such an example where only an EXE wrapper
 > exists, which calls a script in the texmf tree, so e.g. psmerge could be
 > made the same, provided that psmerge.pl will be present in the texmf tree)
 > 
 >  TT> I would like to get rid of all of them but haven't found time yet
 >  TT> to do that (some could be dealt with by making changes to the build
 >  TT> system (psutils), others would have to be rewritten and propagated
 >  TT> upstream if possible).
 > 
 > Best,
 > v.

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the tlbuild mailing list