diff options
author | Karl Berry <karl@freefriends.org> | 2017-05-19 21:12:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-05-19 21:12:44 +0000 |
commit | b6a9d061f27e2822b7de379c66c030d9ea0e8fb3 (patch) | |
tree | 7a9b6e488d40920bb153db1f0e7be10f8df3935a /Master/tlpkg/libexec | |
parent | 910f589664407d620dc2a30c7b1de1a10e715df1 (diff) |
xsim (19may17)
git-svn-id: svn://tug.org/texlive/trunk@44430 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 33f0f0d7855..36658036b9b 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1272,6 +1272,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'wsuipa' => '&PREHOOK_wsuipa', 'yathesis' => '&PREHOOK_flatten1', 'xepersian' => '&PREHOOK_flatten1', + 'xsim' => '&PREHOOK_xsim', ); @@ -1370,6 +1371,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'velthuis' => '&POSTvelthuis', 'xecyr' => '&POSTxecyr', 'xetex-pstricks' => '&POSTxetexpstricks', + 'xsim' => '&POSTxsim', 'xymtex' => '&POSTxymtex', 'zhmetrics' => '&POSTzhmetrics', ); @@ -5316,6 +5318,12 @@ sub PREHOOK_wsuipa { &SYSTEM ("$MV changes/* doc/* macros/* mf/* pk/* tfm/* ."); } +sub PREHOOK_xsim { + print "PREHOOK_$package - flatten doc, but not others\n"; + # we want doc files at top, but keep examples/ and code/ subdirs + &SYSTEM ("$MV doc/* ."); +} + sub prehook_pod2man { my ($author,@scripts) = @_; @@ -6261,6 +6269,11 @@ sub POSTxetexpstricks { # &mv_with_mkdir ("*", "$DEST/xindy/modules/lang/persian/"); #} +sub POSTxsim { + print "POST$package - move code/ subdir\n"; + &mv_with_mkdir ("code/*", "$DEST/tex/latex/$package"); +} + sub POSTxymtex { print "POST$package - rm .BAK old-doc, move subdirectories\n"; &SYSTEM ("rm -rf old-doc"); |