Re: [CMake] custom_install-target with DESTDIR

2009-01-18 Thread Timenkov Yuri
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}

[CMake] custom_install-target with DESTDIR

2009-01-16 Thread M G Berberich
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