summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2012-12-02 23:59:34 +0000
committerNorbert Preining <preining@logic.at>2012-12-02 23:59:34 +0000
commit50d02ff405a42c546de67a95c3031231aa1fcf39 (patch)
tree716e87b94648af8c59bd071baeb5c97ef8e6726d /Master/tlpkg/libexec/ctan2tds
parentdf141e41c79cc6a9b97f9ac0de97b19054849e9b (diff)
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
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds24
1 files changed, 24 insertions, 0 deletions
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;