Am Wed, 31 Dec 2025 10:49:06 +0100
schrieb pdv <[email protected]>:

> On 31/12/2025 00:15, Kornel Benko wrote:
> > Am Tue, 30 Dec 2025 22:20:38 +0100
> > schrieb pdv <[email protected]>:
> >   
> >> On 30/12/2025 17:48, Richard Kimberly Heck wrote:  
> >>> On 12/30/25 10:36 AM, pdv wrote:  
> >>>> When building/installing LyX with CMake on MacOS the Help files are
> >>>> not installed. The Resources/doc folder contains .png files but all
> >>>> .lyx and .txt files are missing.
> >>>>
> >>>> I noticed that in install.cmake on line 105
> >>>>
> >>>> # this is handled in doc/CMakeLists.txt
> >>>> #lyx_install("data" ${TOP_SRC_DIR}/lib doc          *.lyx    .
> >>>> ${_all_languages})
> >>>> #lyx_install("data" ${TOP_SRC_DIR}/lib doc          *.txt    .
> >>>> ${_all_languages})
> >>>> lyx_install("data" ${TOP_SRC_DIR}/lib doc          *      biblio clipart)
> >>>>
> >>>> the first 2 lyx_install commands are commented out. The header
> >>>> mentions that these are handled by doc/CMakeLists.cmake, but as far as
> >>>> I can see this doc script is never executed.
> >>>>
> >>>> Uncommenting these 2 lines solves the problem, but maybe a different
> >>>> solution is more appropriate.  
> >>>
> >>> Are you building from a released tarball or from git? If git, from what
> >>> branch?
> >>>
> >>> Riki
> >>>
> >>>      
> >> I've build LyX2.6 from git, the master branch, commit 9b57990...
> >> But this problem was already present some time ago.
> >> A previous build (LyX2.5 from commit ad80d130) had the same problem.
> >>
> >> Patrick
> >>  
> > 
> > What are your configuring cmake parameters? Here it is installed, and there 
> > is no
> > exception for APPLE.
> > In top CmakeLists.txt:1208 I see
> >     if(LYX_INSTALL)
> >             ...
> >             add_subdirectory(${LYX_CMAKE_DIR}/doc "${TOP_BINARY_DIR}/doc")
> > 
> >     Kornel
> > 
> >   
> 
> The subdirectory /doc is present, as well as the .png files. Only the 
> .lyx and .txt files are not copied.
> 
> The CMakeLists.txt under /development/cmake/doc is somehow not called. I 
> couldn't find out where it should enter, but I'll give it another try.

This is weird.
I suggest to set
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON

Also add to $TOP_SOURCE_DIR/CMakeLists.txt:1207
        message(STATUS "LYX_PYTHON_EXECUTABLE = ${LYX_PYTHON_EXECUTABLE}")
        message(STATUS "LYX_INSTALL = ${LYX_INSTALL}")
and post the output.

Otherwise your settings looks good. (BTW, I don't use LYX_BUNDLE, so that may 
be worth to
omit too)

Also the CMakeCache.txt from your build-dir may help if posted.

        Kornel

Attachment: pgpSypNTfQKYV.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to