diff options
author | Karl Berry <karl@freefriends.org> | 2019-05-03 18:20:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-05-03 18:20:02 +0000 |
commit | 581a89125a8e5ac5b8be27a1d62b72a5e77e05fd (patch) | |
tree | 89dec269a0eebaa8c23c62e5e66222115d78322e /Master/tlpkg | |
parent | 82729f5722f58fbfd10f586d14176b69f508b514 (diff) |
acmart (21apr19)
git-svn-id: svn://tug.org/texlive/trunk@50968 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index bdc94d20ca2..b505771fe90 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1393,6 +1393,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); %posthook = ( 'amscls-doc' => '&POST_rmsymlink', + 'acmart' => '&POSTacmart', 'amsrefs' => '&POSTamsrefs', 'amstex' => '&POSTamstex', 'apalike' => '&POSTapalike', @@ -3661,7 +3662,8 @@ sub donormal { sub runins { my ($thispatt) = @_; print "\t RUNINS $thispatt\n"; - for (grep (/$thispatt/, @filenames)) { + # @filenames is just in the current directory, not recursive. + for (grep (/$thispatt/, @filenames)) { my $env_mktex = "env MKTEXTFM=0 MKTEXMF=0 MKTEXPK=0"; # do not infinite loop on docstrip "output directory", e.g., fltpoint. &runjob ("yes | sed 1000q | $env_mktex $insrunner $_"); @@ -5619,6 +5621,13 @@ sub prehook_pod2man { } +sub POSTacmart { + print "POST$package - generate samples from .ins\n"; + # no reasonable way to do this with runins, since it's in a subdir. + &SYSTEM ("cd samples && latex samples.ins </dev/null && rm samples.log"); +} + + sub POSTamsrefs { print "POST$package - mv amsrefs.faq\n"; &SYSTEM ("cd $DEST " |