latexmk/latexmk-conf.patch

26 lines
1.0 KiB
Diff
Raw Normal View History

--- latexmk.1.ORIG 2009-04-10 15:49:52.000000000 -0600
+++ latexmk.1 2009-04-13 14:54:50.000000000 -0600
@@ -479,6 +479,7 @@
"/opt/local/share/latexmk/LatexMk",
"/usr/local/share/latexmk/LatexMk",
"/usr/local/lib/latexmk/LatexMk".
2008-10-13 18:33:12 +00:00
+ On a Fedora system, it only looks for "/etc/latexmk.conf".
On a MS-WINDOWS system it looks for "C:\\latexmk\\LatexMk".
.PP
2) The user's RC file, "$HOME/.latexmkrc", if it exists. Here $HOME
--- latexmk.pl.ORIG 2009-04-10 15:49:17.000000000 -0600
+++ latexmk.pl 2009-04-13 14:55:40.000000000 -0600
@@ -725,10 +725,8 @@
## /usr/local/share, depending on the local conventions.
## /usr/local/lib/latexmk/LatexMk is put in the list for
## compatibility with older versions of latexmk.
- @rc_system_files =
- ( '/opt/local/share/latexmk/LatexMk',
- '/usr/local/share/latexmk/LatexMk',
- '/usr/local/lib/latexmk/LatexMk' );
+ ## Fedora change: only look in /etc
+ @rc_system_files = ( '/etc/latexmk.conf' );
$search_path_separator = ':'; # Separator of elements in search_path