summaryrefslogtreecommitdiff
path: root/Build/cdbuild/README
blob: 4cb9a4f3fd4341c1b5dac160079fdf26158d6bbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$Id$
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.