Actually, make install calls cmake in command mode to process
cmake_install.cmake file in binary dir. You can move your doxy into separate
component, and call cmake to process installation of particular component.
Something like:
INSTALL(DIRECTORY html/
DESTINATION /share/doc/${PROJECT_NAME}
Hello,
I want to have a target ‘installdoxy’ that essentially does
INSTALL(DIRECTORY html/
DESTINATION /share/doc/${PROJECT_NAME})
when I call ‘make DESTDIR=… installdoxy’. The above code, of course,
does not work, because it installs during ‘make install’
Defining a custom target via