I've done a bit more scouting. It seems to me that installed_system_lyxdir 
should be set in the configuration and stored in version.C which at least 
believes that the installed_system_lyxdir is in the right place.

Angus

aleem@pneumon:src-> grep -n system_lyxdir *.C
BufferView_pimpl.C:1471:                                  
string(AddPath(system_lyxdir, "examples"))));
lyx_cb.C:497:                   AddName(system_lyxdir, "configure"));
lyx_main.C:60:string system_lyxdir;
lyx_main.C:277: // If we had a command line switch, system_lyxdir is already 
setlyx_main.C:279: if (!system_lyxdir.empty())
lyx_main.C:280:         searchpath= MakeAbsPath(system_lyxdir) + ';';
lyx_main.C:352: system_lyxdir = OnlyPath(temp);
lyx_main.C:355: system_lyxdir = NormalizePath(system_lyxdir);
lyx_main.C:361:         if (system_lyxdir != NormalizePath(lyxdir)) {
lyx_main.C:365:                        << system_lyxdir << endl;
lyx_main.C:371: if (system_lyxdir == "./") {
lyx_main.C:390:         system_lyxdir = LYX_DIR;
lyx_main.C:396:                             << system_lyxdir << '\'' << endl;
lyx_main.C:438:         lyxrc.template_path = AddPath(system_lyxdir, 
"templates");
lyx_main.C:659: ::system(AddName(system_lyxdir, "configure").c_str());
lyx_main.C:844:                         system_lyxdir = argv[i + 1];
lyxfunc.C:1828:                           string(AddPath(system_lyxdir, 
"examples"))));
lyxfunc.C:1905:                           string(AddPath(system_lyxdir, 
"examples"))));
aleem@pneumon:src-> more version.C
/* -*- C++ -*- */
/* * This file is part of
   * ======================================================
   *
   *           LyX, the High Level Word Processor
   *
   *           Copyright 1995 Matthias Ettrich
   *           Copyright 1995, 2001 The LyX Team.
   *
   *======================================================*/


///
char const * lyx_version = "1.2.0cvs";
///
char const * lyx_release_date = "Thu, Jan 11, 2001";

/// This version string is intended to be used in files created by LyX
char const * lyx_docversion = "LyX 1.2";

/// This is the version information shown by 'lyx -version'
char const * lyx_version_info = "Configuration\n  Host type:
  alphaev5-dec-osf4.0e\n  Special build flags:            assertions 
included-libsigc\n  C   Compiler:                   deccc\n  C   Compiler 
flags:
  -O2\n  C++ Compiler:                   deccxx \n  C++ Compiler flags:
    -msg_display_number -msg_disable 11,193,236,261,401,611 -w0 -ptr 
/usr/users/aleem/OTHERS_CODE/lyx/devel/lyx_cxx_repository -O2\n  Linker flags:
      \n  Frontend:                       xforms\n    libXpm version:
    4.11\n    libforms version:             0.89.8\n  LyX binary dir:
      /usr/local/bin\n  LyX files dir:                  
/usr/local/share/lyx-1.2.0cvs\n";

Reply via email to