summaryrefslogtreecommitdiff
path: root/Build/cdbuild/Checktpm
blob: 6a4e6231be5472ee02513e8d75bb86fdb22a21e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cd /texlive/Master/texmf-dist/tpm
for i in *.tpm
do
   F=`basename $i .tpm`
   X=`kpsewhich -format='TeX system documentation' $F.xml`
   if test -z "$X"; then
      echo PANIC $F 
   else
      xt $F.tpm /texlive/Build/cdbuild/tpm2tpm.xsl $$.xml
      p4 edit $F.tpm
      cat $$.xml > $F.tpm
      rm $$.xml
   fi
done