Am Sonntag, den 24.03.2019, 18:41 +0100 schrieb Kornel Benko:
> It is supposed. All tests depend on it. How else can we test without 
> installing?

See BufferParams.cpp 748ff.:

string const sysdirprefix = "/systemlyxdir/";
if (prefixIs(origin, sysdirprefix)) {
        string docsys;
        if (inSystemDir(filepath, docsys))
                origin.replace(0, sysdirprefix.length() - 1, docsys);
        else
                origin.replace(0, sysdirprefix.length() - 1,
                        package().system_support().absFileName());
                }

At least the else condition expands to package().system_support(), not
package().build_support(), so this points to the system dir, not the
build dir.

inSystemDir() (in the if condition) can also set docsys to the build
dir, but in general, it is not reliable.

This we need buildlyxdir for reliable results, which I have just
implemented.

> 
> 1.) Compile lyx
> 2.) Call bin/lyx
>         Lyx detectes that it is called from the build dir, and so
> selects the 
> source tree for the sysdir.

As said, it did not work for me.

Jürgen

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to