summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds4
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index d1cdde96465..bfb911228c1 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -2248,6 +2248,10 @@ sub SYSTEM
sub MAKEflatten
{
+ # don't to this in a tds-ready tree...
+ -e "$startdir/$packagedir/TDS_READY"
+ and die "using MAKEflatten with a tds-ready tree.\n";
+
&setup;
&xchdir ("$DEST/doc/$whichdocformat/$package");