]> git.lyx.org Git - features.git/blobdiff - development/autotests/useSystemFonts.pl
Update fr.po
[features.git] / development / autotests / useSystemFonts.pl
index 8beb94cc0f18715fec02b5be0b440e158ed20c58..1265d2003a7f0e8f4f4e9256b456d9c8359e1934 100644 (file)
@@ -182,7 +182,7 @@ sub interpretedCopy($$$$)
     $fi_line_no += 1;
     $l =~ s/[\n\r]+$//;
     #chomp($l);
-    my $rStatus = checkLyxLine($l);
+    my $rStatus = checkLyxLine($l, $sourcedir);
     if ($rStatus->{found}) {
       my $rF = $rStatus->{result};
       if ($rStatus->{"filetype"} eq "replace_only") {
@@ -203,6 +203,10 @@ sub interpretedCopy($$$$)
            my $ext = $isrel[1];
            if ($rStatus->{"filetype"} eq "prefix_only") {
              $f = getNewNameOf("$sourcedir/$f", $rFiles);
+             if ($format =~ /^(docbook5|epub)$/) {
+               $rF->[1] = join(',', @{$filelist});
+               $l =  join('', @$rF);
+             }
            }
            else {
              my ($newname, $res1);
@@ -258,7 +262,7 @@ sub interpretedCopy($$$$)
            }
          }
        }
-       if ($foundrelative && $rStatus->{"filetype"} ne "prefix_for_list") {
+       if ($foundrelative && $rStatus->{"filetype"} !~ /^(prefix_for_list|prefix_only)$/) {
           # The result can be relative too
           # but, since prefix_for_list does no copy, we have to use absolute paths
           # to address files inside the source dir