diff options
author | Karl Berry <karl@freefriends.org> | 2022-12-26 20:53:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-12-26 20:53:49 +0000 |
commit | b5c58f1b712acb8b4aa97b6c9b6aef1e17ea601d (patch) | |
tree | fb7074c3d454600651379c43571e5b8304e7bff2 /Master/tlpkg | |
parent | 18f9fe84463278c66b907bf156c4c2103bd0bab4 (diff) |
pst-flags (26dec22)
git-svn-id: svn://tug.org/texlive/trunk@65367 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 16 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/pst-flags.tlpsrc | 0 |
4 files changed, 18 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 1360f4d7cbe..fc5744b90fc 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -666,7 +666,7 @@ my @TLP_working = qw( pst-coil pst-contourplot pst-cox pst-dart pst-dbicons pst-diffraction pst-electricfield pst-eps pst-eucl pst-eucl-translation-bg pst-exa - pst-feyn pst-fill pst-fit pst-fr3d pst-fractal pst-fun pst-func + pst-feyn pst-fill pst-fit pst-flags pst-fr3d pst-fractal pst-fun pst-func pst-gantt pst-geo pst-geometrictools pst-gr3d pst-grad pst-graphicx pst-hsb pst-infixplot pst-intersect pst-jtree pst-knot pst-labo pst-layout pst-lens pst-light3d pst-lsystem diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index d9cad296686..613bd46630d 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1751,6 +1751,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'prerex' => '&POSTprerex', 'psnfss' => '&POSTpsnfss', 'pst-cox' => '&POSTpstcox', + 'pst-flags' => '&POST_onelevel', 'pst-geo' => '&POSTpstgeo', 'ptex-fontmaps' => '&POSTptex_fontmaps', 'ptex2pdf' => '&POST_preserve_postcode', @@ -7512,6 +7513,21 @@ sub POSTzhmetrics { # Generic post hook actions follow, with an underscore following POST. +# Many people upload to ctan with a single directory level for +# doc/source/tex files. Handle those directories in themselves. +# +sub POST_onelevel { + print "POST$package - handle doc/source/tex directories\n"; + for my $dir ("source", "tex") { + next unless -d $dir; + # theoretically we should use $whichformat, $sourceformat, + # but in practice they are always the same. + &rename_with_mkdir ($d, "$DEST/$dir/$whichdocformat/$package"); + } + # move files in doc/ up to cwd. If there are clashes, will error out. + &xsystem ("$MV doc/* ."); +} + sub POST_otherformat { print "POST$package - move macros up a level\n"; &SYSTEM ("$MV $DEST/tex/$package/$package/* $DEST/tex/$package/"); diff --git a/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc b/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc index f45c5953006..ba62ebc142a 100644 --- a/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc @@ -44,6 +44,7 @@ depend pst-exa depend pst-feyn depend pst-fill depend pst-fit +depend pst-flags depend pst-fr3d depend pst-fractal depend pst-fun diff --git a/Master/tlpkg/tlpsrc/pst-flags.tlpsrc b/Master/tlpkg/tlpsrc/pst-flags.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/pst-flags.tlpsrc |