summaryrefslogtreecommitdiff
path: root/Build/cdbuild/README
blob: 6b0188e342bff4391a13d854fedea8ec0886c012 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$Id: //depot/Build/cdbuild/README#6 $  $Date: 2005/08/29 $  $Author: karl $
Originally written 2004, Karl Berry.  Public domain.

These are Sebastian's magic scripts for updating packages from CTAN into
TeX Live.  Here is the basic idea for the standard LaTeX package:

cd <TL>/Build/cdbuild
p=pkgname  # eg, numprint
(cd <CTAN>/macros/latex/contrib && tar cf - $p) | tar xf -  # e.g.
test -d cooked || mkdir cooked   # scripts don't do it for you
./ctan2tds.pl $p  # which makes ./cooked/$p; check that carefully!
cd cooked
../place $p       # which copies files into Master and does p4 add/del cmds.
p4 revert -a      # excise unchanged files from change list.
<update TPM:Version in the tpm file>
p4 submit         # when everything looks good

See Tools/README, and the ctan2tl and tpm-ctan-check scripts in Tools.