isolating builds within a module

Matthias Kretz kretz at kde.org
Wed Nov 12 07:44:37 GMT 2008


> make <target>/fast skips the dependency checking, where <target> is the
> target you want to build. you can get a list of targets by running 'make
> help'.
>
> Something like 'make plasma/fast' should do the trick.

Yes, I'm using a number of hacks here:

~/bin/makealltargetsfast
#!/bin/sh
makeobj -j`cat ~/.makethreads` `makeobj help|grep -E '^\.\.\. '|grep -Ev 
'(clean|depend|edit_cache|install|install/local|install/strip|
list_install_components|package|package_source|rebuild_cache|\<test| all .*|
\..)$'|awk '{ print $2"/fast" }'`

and in my ~/.vimrc

set mp=makeobj\ -j\`cat\ ~/.makethreads\`

function! Makealltargetsfast()
    let mp_save=&mp
    set mp=~/bin/makealltargetsfast
    make
    let &mp=mp_save
endfunction

nmap <F5> :call Makealltargetsfast()<CR>
nmap <F6> :mak install/fast<CR>

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/





More information about the kde-core-devel mailing list