diff options
author | Norbert Preining <norbert@preining.info> | 2020-01-01 03:01:13 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-01-01 03:01:13 +0000 |
commit | 8cd36d1d38fe9da8a02a138e1984636379710e18 (patch) | |
tree | 2ce38f1578b760dc63193cb559ae2f4309429fb5 /support/latexmk/example_rcfiles | |
parent | 1f9ab71f8ea4751f440072e9e4da3314edbbcf2e (diff) |
CTAN sync 202001010301
Diffstat (limited to 'support/latexmk/example_rcfiles')
-rw-r--r-- | support/latexmk/example_rcfiles/glossary_latexmkrc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/support/latexmk/example_rcfiles/glossary_latexmkrc b/support/latexmk/example_rcfiles/glossary_latexmkrc index 2c15e9aac6..5c757f5b43 100644 --- a/support/latexmk/example_rcfiles/glossary_latexmkrc +++ b/support/latexmk/example_rcfiles/glossary_latexmkrc @@ -13,9 +13,12 @@ add_cus_dep( 'glo', 'gls', 0, 'makeglossaries' ); $clean_ext .= " acr acn alg glo gls glg"; sub makeglossaries { - my ($name, $path) = fileparse( $$Psource ); - return system "makeglossaries -d '$path' '$name'"; - } + my ($base_name, $path) = fileparse( $_[0] ); + pushd $path; + my $return = system "makeglossaries", $base_name; + popd; + return $return; + } # 2. If you use the OBSOLETE glossary package, then you can do |