From 50d02ff405a42c546de67a95c3031231aa1fcf39 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 2 Dec 2012 23:59:34 +0000 Subject: cweb-latex half-update fixing cweb.cls (needs patching) and location of cwebbase.tex (wrongly installed as doc file) git-svn-id: svn://tug.org/texlive/trunk@28426 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/libexec/ctan2tds | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'Master/tlpkg') diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index de50089b2ff..80072f0ca32 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -284,6 +284,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'cursor', "die 'skipping, no known license, very old and small'", 'cvsty', "die 'skipping, ca.2004, noinfo license'", 'cweb', "die 'skipping, programs'", + 'cweb-latex', "&MAKEcweblatex", 'cwpuzzle', "die 'skipping, in crossword package'", 'cyklop', "&MAKEcopy", 'dejavu', "&MAKEcopy", @@ -3516,6 +3517,29 @@ sub MAKEaurical { &MAKEcopy (); } +sub MAKEcweblatex +{ + # don't do this in a tds-ready tree... + -e "$RAW_DIR/$packagedir/TDS_READY" + && die "$0: using MAKEflatten with TDS_READY tree $RAW_DIR/$packagedir.\n"; + + &setup; + &xchdir ("$DEST/doc/$whichdocformat/$package"); + + # patch cweb.cls for new LaTeX format + &SYSTEM("patch -p0 < cweb.cls.patch"); + # remove unneeded patch + &SYSTEM("$RM cweb.cls.patch"); + # move cwebbase.tex to run files + &SYSTEM("$MV cwebbase.tex $DEST/tex/latex/$package"); + + #&flatten_dirtree ($package); + + # do the usual. + &buildfilelist; + &donormal ("nosetup"); +} + sub MAKEeskdx { &setup; -- cgit v1.2.3