latexmk/latexmk-conf.patch
Jerry James 71aba0a3d6 Update to 4.28a:
- Corrects handling of missing files needed by bibtex or biber.
- Corrects duplicate invocations of dvipdf and ps2pdf.
2011-11-28 14:01:47 -07:00

26 lines
1.2 KiB
Diff

--- ./latexmk.pl.orig 2011-11-28 08:18:35.000000000 -0700
+++ ./latexmk.pl 2011-11-28 13:56:14.054193329 -0700
@@ -736,10 +736,8 @@ else {
## /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
--- ./latexmk.1.orig 2011-11-28 08:18:12.000000000 -0700
+++ ./latexmk.1 2011-11-28 13:56:14.055193328 -0700
@@ -723,6 +723,7 @@ system RC file, in the following order,
"/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