latexmk/latexmk-conf.patch

30 lines
1.3 KiB
Diff
Raw Normal View History

2016-10-25 02:52:54 +00:00
--- latexmk.1.orig 2016-10-13 10:25:04.000000000 -0600
+++ latexmk.1 2016-10-24 20:42:40.410330454 -0600
@@ -1064,6 +1064,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
2016-10-25 02:52:54 +00:00
--- latexmk.pl.orig 2016-09-05 21:35:52.000000000 -0600
+++ latexmk.pl 2016-10-24 20:42:40.418329808 -0600
@@ -969,13 +969,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/$_" );
- }
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
$dvi_update_signal = $signo{USR1}