2 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/khc_docbookdig.pl.cmake ${CMAKE_CURRENT_BINARY_DIR}/khc_docbookdig.pl @ONLY)
3 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/khc_htdig.pl.cmake ${CMAKE_CURRENT_BINARY_DIR}/khc_htdig.pl @ONLY )
5 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/docbook.desktop.cmake
6 ${CMAKE_CURRENT_BINARY_DIR}/docbook.desktop )
8 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/man.desktop.cmake
9 ${CMAKE_CURRENT_BINARY_DIR}/man.desktop )
11 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/htdig.desktop.cmake
12 ${CMAKE_CURRENT_BINARY_DIR}/htdig.desktop )
14 macro_additional_clean_files( ${CMAKE_CURRENT_BINARY_DIR}/khc_htdig.pl {CMAKE_CURRENT_BINARY_DIR}/khc_docbookdig.pl @ONLY)
16 ########### install files ###############
18 install( FILES htdig_long.html DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/searchhandlers/htdig )
19 install( FILES ${CMAKE_CURRENT_BINARY_DIR}/htdig.desktop ${CMAKE_CURRENT_BINARY_DIR}/man.desktop ${CMAKE_CURRENT_BINARY_DIR}/docbook.desktop DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/searchhandlers )
21 install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/khc_htdig.pl khc_htsearch.pl khc_mansearch.pl ${CMAKE_CURRENT_BINARY_DIR}/khc_docbookdig.pl DESTINATION ${LIBEXEC_INSTALL_DIR})