latexmk/latexmk-conf.patch

26 lines
1.1 KiB
Diff

--- latexmk.1.ORIG 2010-01-13 13:30:48.000000000 -0700
+++ latexmk.1 2010-01-18 11:20:09.617597204 -0700
@@ -546,6 +546,7 @@
"/opt/local/share/latexmk/LatexMk",
"/usr/local/share/latexmk/LatexMk",
"/usr/local/lib/latexmk/LatexMk".
+ 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 2010-01-15 14:56:15.000000000 -0700
+++ latexmk.pl 2010-01-18 11:20:09.620544494 -0700
@@ -677,10 +677,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