latexmk/latexmk-conf.patch

26 lines
1.1 KiB
Diff
Raw Normal View History

--- ./latexmk.pl.orig 2011-10-10 14:47:21.000000000 -0600
+++ ./latexmk.pl 2011-10-17 12:05:32.082065909 -0600
@@ -718,10 +718,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' );
2009-12-01 16:32:27 +00:00
+ ## Fedora change: only look in /etc
+ @rc_system_files = ( '/etc/latexmk.conf' );
$search_path_separator = ':'; # Separator of elements in search_path
--- ./latexmk.1.orig 2011-10-10 14:47:54.000000000 -0600
+++ ./latexmk.1 2011-10-17 12:05:32.079065912 -0600
@@ -723,6 +723,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".
On a cygwin system (i.e., a MS-Windows system in which perl is
that of cygwin), \fIlatexmk\fR reads for the first it finds of