how to install kdelibs into another prefix than it was compiled for ?

Alexander Neundorf neundorf at kde.org
Tue Feb 20 01:12:10 CET 2007


On Monday 19 February 2007 00:07, Holger Schröder wrote:
> Hi,
>
> i am working on some little scripts, that mimic the behaviour of the gentoo
> emerge system for windows, so that "bootstrapping kde" will be a little bit
> easier as it is right now.
>
> what it does is about like this:
>
> in e:/kderoot/tmp/kdelibs/work/kdelibs there are the kdelibs sources, and
> in e:/kderoot/tmp/kdelibs/work/kdelibs-build i execute this command
> # cmake -DCMAKE_INSTALL_PREFIX=e:/kderoot/kde ..\kdelibs
> # mingw32-make
>
> then i want to install the whole kdelibs into
> e:/kderoot/tmp/kdelibs/image/kde, so that i can then optionally package
> that directory, and then simply copy all files from
> e:/kderoot/tmp/kdelibs/image into e:/kderoot.
>
> can somebody tell me, if this is possible, and which options i have to add
> to the "mingw32-make install"-step ?

Is DESTDIR what you want ?

$ mingw32-make install DESTDIR=e:/kderoot/tmp/kdelibs/image/

This should install everything into the given DESTDIR directory, but only for 
packaging.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list