From 5526eb562cc874c5e59ae3585f61111f63749ac3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 14 Feb 2006 19:27:08 +0000 Subject: find tpm.dtd in support git-svn-id: svn://tug.org/texlive/trunk@1529 c570f23f-e606-0410-a88d-b1316a301751 --- Build/tools/Tpm.pm | 8 ++-- Build/tools/tpm.dtd | 74 -------------------------------- Build/tools/tpmfromcat.xsl | 5 ++- Build/tools/tpmupdate.xsl | 102 +++++++++++++++++++++++++++++++++++++++++++++ Build/tools/update-lists | 16 +++---- Build/tools/updatetpm.xsl | 102 --------------------------------------------- 6 files changed, 118 insertions(+), 189 deletions(-) delete mode 100644 Build/tools/tpm.dtd create mode 100644 Build/tools/tpmupdate.xsl delete mode 100644 Build/tools/updatetpm.xsl (limited to 'Build') diff --git a/Build/tools/Tpm.pm b/Build/tools/Tpm.pm index 4743558177e..353c0570917 100644 --- a/Build/tools/Tpm.pm +++ b/Build/tools/Tpm.pm @@ -373,7 +373,7 @@ sub fresh { my $parser = new XML::DOM::Parser; chomp (my $user = `whoami`); # for Creator field. my $doc = $parser->parse("\ -\ +\ \ \ ${name}\ @@ -383,12 +383,12 @@ sub fresh { $user\ \ The ${name} package.\ - 864\ + 314\ \ \ ${texmf}/tpm/${name}.tpm\ \ - ${texmf}/tpm/${name}.tpm\ + ${texmf}/tpm/${name}.tpm\ ${type}/${name}\ \ \ @@ -402,7 +402,7 @@ sub toRDF { my $parser = new XML::DOM::Parser; $doc = $parser->parse("\n\ + SYSTEM \"../../support/tpm.dtd\">\n\ \n\n"); diff --git a/Build/tools/tpm.dtd b/Build/tools/tpm.dtd deleted file mode 100644 index 955831795c4..00000000000 --- a/Build/tools/tpm.dtd +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Build/tools/tpmfromcat.xsl b/Build/tools/tpmfromcat.xsl index 4276721c9c2..8e044a6ed18 100644 --- a/Build/tools/tpmfromcat.xsl +++ b/Build/tools/tpmfromcat.xsl @@ -1,3 +1,6 @@ + + diff --git a/Build/tools/tpmupdate.xsl b/Build/tools/tpmupdate.xsl new file mode 100644 index 00000000000..0afad1990a1 --- /dev/null +++ b/Build/tools/tpmupdate.xsl @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + add binaries for + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Build/tools/update-lists b/Build/tools/update-lists index 69368d75693..8a4b5afae43 100755 --- a/Build/tools/update-lists +++ b/Build/tools/update-lists @@ -4,13 +4,10 @@ # # Update the texmf/lists/* files from all the tpm's. -mydir=`cd \`dirname $0\` && /bin/pwd` +tools=`cd \`dirname $0\` && /bin/pwd` W=`cd \`dirname $0\`/../../Master && /bin/pwd` cd $W || exit 1 -Date=`date +%Y/%m/%d` -Who=`whoami` - if test "x$1" = x-n; then chicken=true else @@ -20,19 +17,22 @@ fi $chicken || rm -f texmf/lists/* echo "$0: doing packages from $W" -for i in texmf-dist/tpm/*.tpm texmf/tpm/hyphen*tpm texmf/tpm/lib-*.tpm texmf/tpm/bin-*.tpm \ +for i in texmf-dist/tpm/*.tpm \ + texmf/tpm/hyphen*tpm \ + texmf/tpm/lib-*.tpm \ + texmf/tpm/bin-*.tpm \ texmf-doc/tpm/* ; do - xsltproc --stringparam ROOT $W $mydir/tpm2list.xsl $i + xsltproc --stringparam ROOT $W $tools/tpm2list.xsl $i done echo "$0: doing collections..." for i in texmf/tpm/collection*.tpm; do - xsltproc --stringparam ROOT $W $mydir/collection2list.xsl $i + xsltproc --stringparam ROOT $W $tools/collection2list.xsl $i done echo "$0: doing schemes..." for i in texmf/tpm/scheme*.tpm; do - xsltproc --stringparam ROOT $W $mydir/scheme2list.xsl $i + xsltproc --stringparam ROOT $W $tools/scheme2list.xsl $i done echo "$0: regenerated lists." diff --git a/Build/tools/updatetpm.xsl b/Build/tools/updatetpm.xsl deleted file mode 100644 index 0afad1990a1..00000000000 --- a/Build/tools/updatetpm.xsl +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - add binaries for - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3