CMake: Put the docs projects in a subdirectory

This commit is contained in:
Vincent van Ravesteijn 2014-02-03 18:13:00 +01:00
parent f63221aba4
commit 181e64c724
2 changed files with 4 additions and 0 deletions

View File

@ -48,3 +48,6 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/LFUNs.lyx" DESTINATION "${LYX_DATA_SU
ADD_CUSTOM_TARGET(doc ALL DEPENDS ${_docs})
ADD_CUSTOM_TARGET(lfundoc DEPENDS LFUNs.lyx)
set_target_properties(doc lfundoc PROPERTIES FOLDER "doc")

View File

@ -26,6 +26,7 @@ foreach(_mn lyx.1in src/client/lyxclient.1in src/tex2lyx/tex2lyx.1in)
endforeach(_mn)
ADD_CUSTOM_TARGET(man ALL DEPENDS ${_manuals})
set_target_properties(man PROPERTIES FOLDER "doc")
install(FILES ${_manuals} DESTINATION ${LYX_MAN_DIR}/man1)