diff options
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/cdbuild/ctan2tds.pl | 102 | ||||
-rwxr-xr-x | Build/tools/tpm-ctan-check | 2 |
2 files changed, 54 insertions, 50 deletions
diff --git a/Build/cdbuild/ctan2tds.pl b/Build/cdbuild/ctan2tds.pl index 5dfd61dec01..3f10db28d9a 100755 --- a/Build/cdbuild/ctan2tds.pl +++ b/Build/cdbuild/ctan2tds.pl @@ -60,16 +60,16 @@ chdir $startdir || die "chdir($startdir) failed: $!"; 'Catalogue', "&MAKEcatalog", 'HA-prosper', '&MAKEhaprosper', 'IEEEtran', "&MAKEIEEEtran", - 'LingTrees', "warn \"skipping LingTrees, requires python\n\"", + 'LingTrees', "die 'skipping, requires python'", 'SIstyle', '&MAKEflatten', 'aastex', "&MAKEflatten", - 'aeb_pro', "warn \"skipping aeb_pro, requires new acrobat + complicated\n\"", + 'aeb_pro', "die 'skipping, requires new acrobat + complicated'", 'arabxetex', '&MAKEflatten', 'active-conf', "&MAKEflatten", 'ae', "&MAKEae", 'algorithmicx',"&MAKEnosymlinks", 'allrunes', "&MAKEflatten", - 'alphabib', "warn \"skipping alphabib, shell script, and no doc source?\n\"", + 'alphabib', "die 'skipping, shell script, and no doc source?'", 'ams', "&MAKEamslatex", 'amscls', "&MAKEamslatex", 'amsmath', "&MAKEamslatex", @@ -84,7 +84,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; 'archaic', "&MAKEwilson", 'arev', "&MAKEcopy", 'ascii', "&MAKEflatten", - 'astron', "warn \"skipping astron, nonfree license\n\"", + 'astron', "die 'skipping, nonfree license'", 'augie', "&MAKEaugie", 'aurical', "&MAKEaurical", 'babel', "&MAKEcopy", # we use latex-tds/babel.zip @@ -95,7 +95,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # 'bbm', "&MAKEbbm", 'beamer', "&MAKEbeamer", 'beamer-contrib',"&MAKEflatten", - 'beebe', "warn \"skipping beebe, MAKEbeebe needs work\n\"", + 'beebe', "die 'skipping, MAKEbeebe needs work'", 'bengali', '&MAKEflatten', 'bera', "&MAKEunzipandflatten", 'bookhands', "&MAKEwilson", @@ -104,10 +104,10 @@ chdir $startdir || die "chdir($startdir) failed: $!"; 'cb', "&MAKEflatten", 'cbcoptic', "&MAKEcbcoptic", 'changebar', "&MAKEchangebar", - 'chemsym', "warn \"skipping chemsym, nonfree\n\"", - 'chessboard', "warn \"skipping chessboard, no doc source\n\"", - 'chessfss', "warn \"skipping chessfss, no doc source\n\"", - 'circuit_macros', "warn \"skipping circuit_macros, needs m4\n\"", + 'chemsym', "die 'skipping, nonfree'", + 'chessboard', "die 'skipping, no doc source'", + 'chessfss', "die 'skipping, no doc source'", + 'circuit_macros', "die 'skipping, needs m4'", 'cjhebrew', "&MAKEflatten", 'clock', "&MAKEflatten", 'cm-lgc', '&MAKEcmlgc', @@ -116,38 +116,37 @@ chdir $startdir || die "chdir($startdir) failed: $!"; 'cmll', "&MAKEflatten", 'concmath', "&MAKEconcmath", 'context', "&MAKEcontext", - 'coptic', "warn \"skipping coptic, it has been replaced by cbcoptic\n\"", - 'corridx', "warn \"skipping corridx, Pascal source\n\"", - 'csplain', "warn \"skipping csplain, too hard to automate\n\"", + 'coptic', "die 'skipping, it has been replaced by cbcoptic'", + 'corridx', "die 'skipping, Pascal source'", + 'csplain', "die 'skipping, too hard to automate'", 'csvtools', "&MAKEflatten", 'ctable', "&MAKEflatten", 'ctib', "&MAKEflatten", - 'cweb', "warn \"skipping cweb, programs\n\"", + 'cweb', "die 'skipping, programs'", 'cyrillic', "&MAKEcopy", # we use latex-tds/cyrillic.zip 'datetime', "&MAKEflatten", 'devanagr', "&MAKEdevanagr", 'diagnose', "&MAKEflatten", 'dictsym', "&MAKEunzipandflatten", 'disser', "&MAKEdisser", - 'dmfonts', "warn \"skipping dmfonts, needs work\n\"", + 'dmfonts', "die 'skipping, needs work'", 'doipubmed', "&MAKEflatten", - 'dps', "warn \"skipping dps, requires acrotex\n\"", + 'dps', "die 'skipping, requires acrotex'", 'dtk', "&MAKEflatten", 'dtxtut', "&setup", # straight copy 'dvdcoll', "&MAKEflatten", 'easy', "&MAKEeasy", - 'ebib', "warn \"skipping ebib, as it is Emacs\n\"", + 'ebib', "die 'skipping, as it is Emacs'", 'ebong', "&MAKEebong", 'ecc', "&MAKEflatten", 'eco', "&MAKEeco", - 'edmac', "warn \"skipping edmac, needs work (unzip xx)\n\"", + 'edmac', "die 'skipping, needs work (unzip xx)'", 'ednotes', "&MAKEnosymlinks", 'elhyphen', "&MAKEelhyphen", 'epigrafica', "&MAKEflatten", 'epiolmec', "&MAKEflatten", - 'epix', "warn \"skipping epix, needs C++\n\"", + 'epix', "die 'skipping, needs C++'", 'eplain', "&MAKEcopy", - 'epspdfconversion', "warn \"skipping for now, no doc source\n\"", 'eqnarray', "&MAKEeqnarray", 'eskdx', "&MAKEeskdx", 'esvect', "&MAKEflatten", @@ -167,39 +166,39 @@ chdir $startdir || die "chdir($startdir) failed: $!"; 'fouriernc', "&MAKEflatten", 'fp', "&MAKEfp", 'fpl', "&MAKEflatten", - 'fragments', "warn \"skipping fragments, not a package\n\"", + 'fragments', "die 'skipping, not a package'", 'frcursive', "&MAKEflatten", 'germbib', "&MAKEgermbib", # 'gfsartemisia',"&MAKEflatten", 'graphics', "&MAKEcopy", # we use latex-tds/graphics.zip - 'graphicxsp', "warn \"skipping graphicxsp, requires adobe distiller\n\"", + 'graphicxsp', "die 'skipping, requires adobe distiller'", 'hfbright', "&MAKEflatten", 'hfoldsty', "&MAKEflatten", 'hyperref', "&MAKEhyperref", - 'hyphen-german',"warn \"please install hyphen-german by hand, sorry\n\"", + 'hyphen-german',"die 'please install hyphen-german by hand, sorry'", 'ibycus-babel',"&MAKEibycusbabel", 'ibygrk', "&MAKEflatten", 'invoice', "&MAKEflatten", 'iwona', "&MAKEcopy", - 'japanese', "warn \"skipping japanese, requires ptex\n\"", - 'jasthesis', "warn \"skipping jasthesis, license is unknown\n\"", - 'jj_game', "warn \"skipping jj_game, requires acrotex\n\"", + 'japanese', "die 'skipping, requires ptex'", + 'jasthesis', "die 'skipping, license is unknown'", + 'jj_game', "die 'skipping, requires acrotex'", 'kerkis', "&MAKEflatten", 'koma-script', "&MAKEkoma", 'kpfonts', "&MAKEflatten", 'kurier', "&MAKEcopy", - 'kuvio', "warn \"skipping kuvio, nonfree license\n\"", + 'kuvio', "die 'skipping, nonfree license'", 'latex', "&MAKEcopy", # we use latex-tds/base.zip 'latex-tds', "&MAKEcopy", # we use latex-tds/source.zip 'latexmp', "&MAKEflatten", 'leawood', "&MAKEflatten", 'lettre', "&MAKEflatten", 'lettrine', "&MAKEflatten", - 'lexitex', "warn \"skipping lexitex, camel has replaced\n\"", + 'lexitex', "die 'skipping, camel has replaced'", 'lfb', "&MAKElfb", 'lh', "&MAKEcopy", 'libertine', "&MAKElibertine", - 'lifia-th', "warn \"skipping lifia-th\n\"", + 'lifia-th', "die 'skipping, '", 'linearA', "&MAKEflatten", "lineno", "&MAKEnosymlinks", 'listings', "&MAKElistings", @@ -230,7 +229,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; 'mh', "&MAKEflatten", 'minitoc', "&MAKEunzip", 'misc', "&MAKEmisc", - 'mkbangtex', "warn \"skipping mkbangtex, no copyright (and python)\n\"", + 'mkbangtex', "die 'skipping, no copyright (and python)'", 'mnhyphn', "&MAKEmnhyphn", 'mnsymbol', "&MAKEflatten", 'montex', "&MAKEflatten", @@ -244,15 +243,15 @@ chdir $startdir || die "chdir($startdir) failed: $!"; 'ocherokee', "&MAKEflatten", 'ofs', "&MAKEflatten", 'omegajapanese',"&MAKEflatten", - 'osa', "warn \"skipping osa, relies on endfloat.cfg and non-unique filenames\n\"", + 'osa', "die 'skipping, relies on endfloat.cfg and non-unique filenames'", 'ot2cyr', "&MAKEot2cyr", 'otibet', "&MAKEflatten", 'pandora', "&MAKEflatten", - 'pax', "warn \"skipping pax, needs java\n\"", + 'pax', "die 'skipping, needs java'", 'pb-diagram', "&MAKEpbdiagram", 'pclnfss', "&MAKEpclnfss", - 'pdcmac', "warn \"skipping pdcmac, needs work\n\"", - 'pdf-forms-tutorial', "die \"use pdf-forms-tutorial-de or -en\n\"", + 'pdcmac', "die 'skipping, needs work'", + 'pdf-forms-tutorial', "die 'use pdf-forms-tutorial-de or -en'", 'pdf-forms-tutorial-de', "&MAKEpdf_forms_tutorial", 'pdf-forms-tutorial-en', "&MAKEpdf_forms_tutorial", 'perltex', "&MAKEperltex", @@ -261,15 +260,15 @@ chdir $startdir || die "chdir($startdir) failed: $!"; 'pict2e', "&MAKEpict2e", 'pictex', "&MAKEpictex", 'pl-qx', "&MAKEplqx", - 'poster', "warn \"skipping poster, nonfree license\n\"", + 'poster', "die 'skipping, nonfree license'", 'powerdot', '&MAKEflatten', 'probsoln', '&MAKEflatten', 'prosper', '&MAKEflatten', - 'ps4pdf', "warn \"skipping ps4pdf, obsolete\n\"", + 'ps4pdf', "die 'skipping, obsolete'", 'psfragx', "&MAKEflatten", 'pslatex', "&MAKEpslatex", 'psnfss', "&MAKEpsnfss", # we use latex-tds/psnfss.zip - 'psnfss-addons', "warn \"skipping psnfss-addons\n\"", + 'psnfss-addons', "die 'skipping, ?'", 'psnfssx', "&MAKEflatten", 'pst-2dplot', "&MAKEpst", 'pst-3d', "&MAKEpst", @@ -319,26 +318,26 @@ chdir $startdir || die "chdir($startdir) failed: $!"; 'showexpl', "&MAKEflatten", 'siam', "&MAKEsiam", 'skak', "&MAKEflatten", - 'songs', "warn \"skipping symbolindex, requires binary\n\"", + 'songs', "die 'skipping, requires binary'", 'stellenbosch',"&MAKEcopy", - 'symbolindex', "warn \"skipping symbolindex, requires binary\n\"", + 'symbolindex', "die 'skipping, requires binary'", 't2', "&MAKEt2", 'tabvar', "&MAKEflatten", 'tamethebeast',"&MAKEtamethebeast", 'tengwarscript',"&MAKEflatten", 'tex-gyre', "&MAKEcopy", - 'tex-refs', "warn \"skipping tex-refs, needs work\n\"", + 'tex-refs', "die 'skipping, needs work'", 'texdraw', "&MAKEtexdraw", 'texpower', "&MAKEnosymlinks", 'texsis', "&MAKEtexsis", - 'thaifonts-scalable', "warn \"Thai, fontforge format only, skip\n\"", - 'thailatex', "warn \"Thai, requires preprocessor (?), skip\n\"", + 'thaifonts-scalable', "die 'Thai, fontforge format only, skip'", + 'thailatex', "die 'Thai, requires preprocessor (?), skip'", 'thumbpdf', "&MAKEthumbpdf", - 'thuthesis', "warn \"Chinese, may as well skip\n\"", + 'thuthesis', "die 'Chinese, may as well skip'", 'ticket', "&MAKEflatten", 'tipa', "&MAKEtipa", - 'titlepage-uni-dortmund', "warn \"needs graphics (too short names) in .\n\"", - 'tpcmfont', "warn \"skipping tpcmfont\n\"", + 'titlepage-uni-dortmund', "die 'needs graphics (too short names) in .'", + 'tpcmfont', "die 'skipping, ?'", 'tools', "&MAKEcopy", # we use latex-tds/tools.zip 'turnstile', "&MAKEflatten", 'txfonts', "&MAKEflatten", @@ -346,12 +345,12 @@ chdir $startdir || die "chdir($startdir) failed: $!"; 'ukrhyph', "&MAKEukrhyph", 'unitsdef', "&MAKEflatten", 'velthuis', "&MAKEcopy", - 'verbatimcopy', "warn \"skipping verbatimcopy, no doc source\n\"", + 'verbatimcopy', "die 'skipping, no doc source'", 'vhistory', "&MAKEflatten", 'vntex', "&MAKEcopy", 'voss-de', "&MAKEvossde", 'vpe', "&MAKEvpe", - 'vrsion', "warn \"skipping vrsion, nonfree license\n\"", + 'vrsion', "die 'skipping, nonfree license'", 'wasy2', "&MAKEflatten", 'wordcount', "&MAKEwordcount", 'xbase', "&MAKEnosymlinks", @@ -1221,9 +1220,14 @@ for (@ARGV) { print "pkg=$package (fmt=$whichformat docfmt=$whichdocformat) -> $DEST\n"; if ($special{$package}) { - print "doing $special{$package}...\n"; - eval $special{$package}; - die "failure in $special{$package} (for $package): $@" if $@; + if ($special{$package} =~ s/^die //) { + # avoid repeating the die message. + die "$package failed: $special{$package}\n"; + } else { + print "special: $special{$package}...\n"; + eval $special{$package}; + die "$package failed in $special{$package}: $@" if $@; + } } else { &donormal; } diff --git a/Build/tools/tpm-ctan-check b/Build/tools/tpm-ctan-check index aa715f1ce7c..79ae3a9ac43 100755 --- a/Build/tools/tpm-ctan-check +++ b/Build/tools/tpm-ctan-check @@ -47,7 +47,7 @@ my @WorkingTPM = qw( egplot eijkhout elatex ellipsis elpres elsevier elsevier-bib emulateapj endfloat endheads engrec enumitem envbig environ epigrafica epiolmec eplain epsdice - epsf epslatex-fr eqlist eqparbox es-tex-faq + epsf epslatex-fr epspdfconversion eqlist eqparbox es-tex-faq ESIEEcv esint esint-type1 eskd eskdx eso-pic etaremune ethiop ethiop-t1 eulervm euro europecv eurosans everypage exam examdesign examplep exercise expl3 expressg extarrows exteps |