summaryrefslogtreecommitdiff
path: root/Build/cdbuild/README
blob: 9a16ceb0fa83629d319252b86c46bd7bdb7463bc (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.