mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +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") {
|
||||
my $rElem1 = newMatch("ext" => ".bib",
|
||||
"filetype" => "prefix_for_list",
|
||||
"search" => qr/^bibfiles\s+\"(.+)\"/,
|
||||
"search" => qr/^bibfiles\s+\"([^\"]+)\"/,
|
||||
"result" => ["bibfiles \"", "1", "\""]);
|
||||
my $rElem2 = newMatch("ext" => ".bst",
|
||||
"filetype" => "prefix_for_list",
|
||||
|
@ -203,6 +203,10 @@ sub interpretedCopy($$$$)
|
||||
my $ext = $isrel[1];
|
||||
if ($rStatus->{"filetype"} eq "prefix_only") {
|
||||
$f = getNewNameOf("$sourcedir/$f", $rFiles);
|
||||
if ($format eq "docbook5") {
|
||||
$rF->[1] = join(',', @{$filelist});
|
||||
$l = join('', @$rF);
|
||||
}
|
||||
}
|
||||
else {
|
||||
my ($newname, $res1);
|
||||
|
Loading…
Reference in New Issue
Block a user