summaryrefslogtreecommitdiff
path: root/Build/cdbuild/ctan2tds.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Build/cdbuild/ctan2tds.pl')
-rwxr-xr-xBuild/cdbuild/ctan2tds.pl14
1 files changed, 14 insertions, 0 deletions
diff --git a/Build/cdbuild/ctan2tds.pl b/Build/cdbuild/ctan2tds.pl
index 4b63e96a924..2c09ff34756 100755
--- a/Build/cdbuild/ctan2tds.pl
+++ b/Build/cdbuild/ctan2tds.pl
@@ -124,6 +124,7 @@ chdir $startdir || die "chdir($startdir) failed: $!";
'devanagr', "&MAKEdevanagr",
'diagnose', "&MAKEflatten",
'dictsym', "&MAKEunzipandflatten",
+ 'disser', "&MAKEdisser",
'dmfonts', "print \"skipping dmfonts, needs work\"",
'dps', "print \"skipping dps, requires acrotex\"",
'dtk', "&MAKEflatten",
@@ -680,6 +681,7 @@ $standardtex='\.cfg|\.sty|\.clo|\.ldf|\.cls|\.def|\.fd$';
'custom-bib', '\.mbs|\.tex',
'cyrillic', '\.tex|\.sty|\.fd$|\.def',
'dialogl', '\.sty|listouti\.tex',
+ 'disser', "\.rtx|$standardtex",
'dlfltxb', '\.sty', # no sample.cfg
'dvdcoll', "\.dcl|$standardtex",
'ean', 'ean[0-9]*\.tex',
@@ -2068,6 +2070,18 @@ sub MAKEdevanagr {
print "\t YOU-MUST-DO update /tmp/devnag.c and devnag.exe into Build\n";
}
+# We don't want to flatten the templates, only the source.
+#
+sub MAKEdisser
+{
+ &setup;
+ &xchdir ("$DEST/doc/$whichdocformat/$package");
+ print "\t SPECIAL $package\n";
+ &SYSTEM ("$MV -f src/* .");
+ &buildfilelist;
+ &donormal;
+}
+
sub MAKEeasy {
&setup;
chdir("$DEST/doc/$whichdocformat/$package");