mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Cmake docbook5 tests: Use absolute path-hints for 'bibfiles' entries in lyx-file
This commit is contained in:
parent
cede08451e
commit
aea775cbc6
@ -335,7 +335,7 @@ sub checkForLatexCommand($)
|
|||||||
if ($param eq "bibtex") {
|
if ($param eq "bibtex") {
|
||||||
my $rElem1 = newMatch("ext" => ".bib",
|
my $rElem1 = newMatch("ext" => ".bib",
|
||||||
"filetype" => "prefix_for_list",
|
"filetype" => "prefix_for_list",
|
||||||
"search" => qr/^bibfiles\s+\"(.+)\"/,
|
"search" => qr/^bibfiles\s+\"([^\"]+)\"/,
|
||||||
"result" => ["bibfiles \"", "1", "\""]);
|
"result" => ["bibfiles \"", "1", "\""]);
|
||||||
my $rElem2 = newMatch("ext" => ".bst",
|
my $rElem2 = newMatch("ext" => ".bst",
|
||||||
"filetype" => "prefix_for_list",
|
"filetype" => "prefix_for_list",
|
||||||
|
@ -203,6 +203,10 @@ sub interpretedCopy($$$$)
|
|||||||
my $ext = $isrel[1];
|
my $ext = $isrel[1];
|
||||||
if ($rStatus->{"filetype"} eq "prefix_only") {
|
if ($rStatus->{"filetype"} eq "prefix_only") {
|
||||||
$f = getNewNameOf("$sourcedir/$f", $rFiles);
|
$f = getNewNameOf("$sourcedir/$f", $rFiles);
|
||||||
|
if ($format eq "docbook5") {
|
||||||
|
$rF->[1] = join(',', @{$filelist});
|
||||||
|
$l = join('', @$rF);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
my ($newname, $res1);
|
my ($newname, $res1);
|
||||||
|
Loading…
Reference in New Issue
Block a user