Problem with install icons + make install DESTDIR=<foo>

Brad King brad.king at kitware.com
Sat Mar 4 00:54:42 CET 2006


Alex,

Laurent Montel wrote:
> Hi,
> Our cmake script to install icons doesn't allow to install icons with 
> different DESTDIR :(
> It will be a problem for future when distro will package kde4.0
> (we use DESTDIR to create package)
> 
> I think that it's necessary to fix it.
> 
> CONFIGURE_FILE( /home/lmontel/kde-4.0/kde4/cmake/snapshot/kdebase/pics/crystalsvg/cr48-app-penguin.png /home/lmontel/kde-4.0/kde4/build-cmake-snapshot//share/icons/crystalsvg/48x48/apps/penguin.png 
> COPYONLY)
> MESSAGE(STATUS 
> "Installing /home/lmontel/kde-4.0/kde4/build-cmake-snapshot//share/icons/crystalsvg/128x128/apps/email.png")

I've just added support for renaming files to the INSTALL command in 
CMake.  It can probably be used in place of these install scripts to 
solve this problem.

-Brad


More information about the Kde-buildsystem mailing list