[tlbuild] adding scripts

Norbert Preining preining at logic.at
Sat May 29 07:50:15 CEST 2010


On Sa, 29 Mai 2010, Taco Hoekwater wrote:
> For example, for pstopdf, I have committed two new files and updated
> another:
>
> Master/texmf-dist/scripts/context/stubs/mswin/pstopdf.exe
>   (a copy of runscript.exe)
> Master/texmf-dist/scripts/context/stubs/unix/pstopdf
>   (a short shell script running 'texmfstart pstopdf.rb')

Here you could do whatever you want, also if there is a proper shebank
line you could use .../bin/arch/pstopdf -> ..../pstopdf.rb

> Master/tlpkg/tlpsrc/context.tlpsrc
>   (added the bin pattern)
>
> But this does not get the actual binaries in the correct bin
> directory, does it? So, how to do that? Do I just commit a bunch
> of Master/bin/*/ files?

In principle yes, but you should also:
- add the files to Build/source/texk/texlive/linked_scripts/$packagename
- edit Build/source/texk/texlive/linked_scripts/Makefile.*
that makes sure that on build with Build script the links are properly
recreated.

In Makefile.am there is the comment:
# Copies of these scripts exist here for the sake of avoiding
# dangling symlinks produced by `make install'.
# The instances in texmf* are the masters (except when it is CTAN).

For W32 you only make a copy in bin/win32 of the generic wrapper.
THe nightly cron run Master/tlpkg/bin/check-wrapper-consistency
that should check that all the linked scripts in the unix bins
and the wrappers on Windows agree
(Tomek, Karl, please correct me if I forgot something).


I cannot guarantee that this is all, but it is what I know.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
VALLETTA (n.)
On ornate head-dress or loose garment worn by a person in the belief
that it renders then invisibly native and not like a tourist at
all. People who don huge colonial straw collie hats with 'I Luv Lagos'
on them in Nigeria, or fat solicitors from Tonbridge on holiday in
Malaya who insist on appearing in the hotel lobby wearing a sarong
know what we're on about.
			--- Douglas Adams, The Meaning of Liff


More information about the tlbuild mailing list