summaryrefslogtreecommitdiff
path: root/Build/tools/README
blob: 30c289e315d49cbc40a3b99233b5dc86f0684f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
Copyright (C) 2005, 2006 TeX Users Group.
You may freely use, modify and/or distribute this file.
(Originally written in 2005 by Karl Berry.)

The scripts here relate to building or verifying TeX Live itself.

tlrebuild - master script to check package files (tpm-check),
  update them (update-tpm), update the lists files generated from the
  tpm's for the Unix installer (update-lists),
  and make the ISO image (MakeImages.sh).
  Run tlrebuild

tpm-by-size - reports packages by space consumed.

tpm-check - do TPM sanity checks.

tpm-ctan-check - check that TL is up to date wrt CTAN.  (Vastly incomplete.)

update-auto - check for various sources external to TeX Live being
  changed, such as config.guess, texinfo.tex, etc.

update-lists - update texmf/lists/* files from all the tpm's.

update-lsr - update ls-R files.

update-tpm - regenerate tpm files via tpm-factory.pl.

htmltext - simplistic creation of plain text from HTML, used for the
  top-level doc.

mkdocindex - builds top-level doc.html file.

*2list.xsl - construct the lists/* files.

--

Instructions from Sebastian (5jun04) on updating packages from ctan to
TeX Live; encapsulated in the ./ctan2tl script, but don't run it blindly.
See also http://tug.org/texlive/pkgupdate.html.

a) grab the package X to Build/cdbuild/raw as a zip archive: gets $X.zip

b) unpack zip: makes $X

c) run
    ../ctan2tds.pl $X
  which makes ../cooked/X

d) cd ../cooked: check $X tree is OK

e) ../place $X: copies this tree to main texmf-dist, updates/creates
   TPM, updates/creates list file
    (this includes running tpm-factory)

f) p4 revert -a
   p4 submit

--
The difference between Map and MixedMap, from te:

    The purpose of MixedMap is to help people who have printers which render
    the type1 versions of the fonts worse than (mode-tuned) versions of
    type3 fonts. The entries from MixedMap are just) not added to
    psfonts_pk.map. That's the only difference.

--
pdftex update:
\cp -f Annou* NEWS README /home/karl/src/Master/texmf/doc/pdftex
cd !$
p4update Annou* NEWS README

cd manual
\cp -f * /home/karl/src/Master/texmf/doc/pdftex/manual
cd !$
make
p4update *

# texmf is copies of various .ini's, ignore.


on new architecture, or version change, must edit:
Master/utils.sh: platform_guess() Sys variable setting.
Master/common.sh:
  setvars - name
  menu_this_platform - list
  screen_5 - text, must match
Master/Tools/Tpm.pm: system list



new year:
- MakeImages.sh
- texmf.cnf