install texinfo files
This commit is contained in:
parent
6ebb05ebb7
commit
de5cc27914
1 changed files with 8 additions and 7 deletions
|
|
@ -96,10 +96,11 @@ if(CMAKE_INSTALL_MANDIR)
|
|||
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT doc)
|
||||
endif(CMAKE_INSTALL_MANDIR)
|
||||
|
||||
if(CMAKE_INSTALL_DOCDIR)
|
||||
foreach(file ${info_files})
|
||||
get_filename_component(file_base ${file} NAME_WE)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${file_base}.pdf
|
||||
DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT doc OPTIONAL)
|
||||
endforeach()
|
||||
endif(CMAKE_INSTALL_DOCDIR)
|
||||
foreach(file ${info_files})
|
||||
get_filename_component(file_base ${file} NAME_WE)
|
||||
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${file}
|
||||
DESTINATION ${CMAKE_INSTALL_INFODIR} COMPONENT doc)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${file_base}.pdf
|
||||
DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT doc OPTIONAL)
|
||||
endforeach()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue