latexmk/latexmk-conf.patch
Jerry James 0cb21a6566 * Mon Mar 28 2011 Jerry James <loganjerry@gmail.com> - 4.23-1
- Update to 4.23 (several bug fixes, new dependency-tracking functionality)
- Drop BuildRoot and %clean
2011-03-28 10:06:01 -06:00

26 lines
1.1 KiB
Diff

--- latexmk.1.orig 2011-03-22 07:32:52.000000000 -0600
+++ latexmk.1 2011-03-28 10:00:36.478299325 -0600
@@ -645,6 +645,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
--- latexmk.pl.orig 2011-03-21 19:05:02.000000000 -0600
+++ latexmk.pl 2011-03-28 10:00:36.481299174 -0600
@@ -673,10 +673,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