Kdevelop modifies files - even excluded files!

Milian Wolff mail at milianw.de
Tue Mar 1 21:55:47 GMT 2016


On Dienstag, 1. März 2016 22:50:54 CET Erik Rull wrote:
> Hi Milan,
> 
> thanks. This explains a lot to me. It seems to be clear now where the issue
> comes from.
> 
> A straight forward fix seems actually not to be possible.
> 
> What about "make -p"?
> This should print the whole make database - of course a lot of stuff around
> but filtering out all targets should help and provide similar information
> as the make -n...
> 
> If you take the -W argument the file is treated as completely new and it
> might be possible that some make rules are not only printed but actually
> get executed - maybe due to other reasons within make - and this causes
> finally to corrupt the .d files - the "why" is not yet clear for me.
> But on the other side this is the one and only solution to get the printout
> of the rule via -n because uncalled rules are not printed.
> 
> Think about a make -n -p approach...

This would require us to reimplement make because, for me, -p does not expand 
variables.

Bye

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20160301/3dd02864/attachment.sig>


More information about the KDevelop mailing list