Blob Blame History Raw
--- latexmk.1.orig	2019-12-31 12:19:38.000000000 -0700
+++ latexmk.1	2020-01-03 16:44:48.283297451 -0700
@@ -1426,6 +1426,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 the first it finds of
--- latexmk.pl.orig	2019-12-26 15:10:09.000000000 -0700
+++ latexmk.pl	2020-01-03 16:44:48.304297391 -0700
@@ -981,13 +981,9 @@ else {
     ## /usr/local/share, depending on the local conventions.
     ## But /usr/local/lib/latexmk is put in the list for
     ## compatibility with older versions of latexmk.
-    @rc_system_files = ();
-    foreach ( 'LatexMk', 'latexmkrc' ) {
-       push @rc_system_files,
-            ( "/opt/local/share/latexmk/$_", 
-              "/usr/local/share/latexmk/$_",
-              "/usr/local/lib/latexmk/$_" );
-    }
+    ## Fedora change: only look in /etc
+    @rc_system_files = ( '/etc/latexmk.conf' );
+
     $search_path_separator = ':';  # Separator of elements in search_path
 
     $dvi_update_signal = $signo{USR1}