summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index bf117bb8757..4270a920d33 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -2559,19 +2559,21 @@ sub MAKEpstricks {
&runjob("mkdir -p $DEST/source/generic/pstricks");
&runjob("mkdir -p $DEST/tex/latex/pstricks");
&runjob("mkdir -p $DEST/dvips/pstricks");
- &runjob("$MV generic/Changes $DEST/generic/generic/pstricks/Changes.generic");
- &runjob("$CP generic/* $DEST/tex/generic/pstricks && rmdir generic");
- &runjob("$MV latex/Changes $DEST/latex/generic/pstricks/Changes.latex");
- &runjob("$CP latex/* $DEST/tex/latex/pstricks && rmdir latex");
+ &runjob("$MV generic/Changes $DEST/doc/generic/pstricks/Changes.generic");
+ &runjob("$CP generic/* $DEST/tex/generic/pstricks && $RM -r generic");
+ &runjob("$MV latex/Changes $DEST/doc/generic/pstricks/Changes.latex");
+ &runjob("$CP latex/* $DEST/tex/latex/pstricks && $RM -r latex");
chomp (my $basedir=`pwd`);
+ &runjob("mkdir -p $DEST/source/generic/pstricks/pst-user");
&xchdir("$DEST/source/generic/pstricks");
my $archive="$basedir/doc/pst-user.tgz";
&runjob("tar xzf $archive && $RM $archive");
&xchdir ($basedir);
&runjob("$MV doc/Changes $DEST/doc/generic/pstricks/Changes.doc");
- &runjob("$CP -r doc/* $DEST/doc/generic/pstricks && rmdir doc");
+ &runjob("$CP -r doc/* $DEST/doc/generic/pstricks && $RM -r doc");
+ &runjob("$CP -r examples $DEST/doc/generic/pstricks && $RM -r examples");
&runjob("$MV dvips/Changes $DEST/doc/generic/pstricks/Changes.dvips");
- &runjob("$CP dvips/* $DEST/dvips/pstricks && rmdir dvips");
+ &runjob("$CP dvips/* $DEST/dvips/pstricks && $RM -r dvips");
&runjob("$RM examples.zip");
&runjob("$CP * $DEST/doc/generic/pstricks");
}