gbuild deps: removed header

Matúš Kukan matus.kukan at gmail.com
Sun Jul 22 12:01:45 PDT 2012


Hi all,

Should gbuild dependencies survive removed header ?

Something like:
touch solver/*/inc/foo.h
+#include <foo.h>
e.g. in salhelper/source/condition.cxx
make gb_FULLDEPS=T salhelper
Now workdir/*/Dep/LinkTarget/Library/*salhelper*.d should contain foo.h
So:
rm solver/*/inc/foo.h
-#include <foo.h>
in salhelper/source/condition.cxx
and make gb_FULLDEPS=T salhelper fails for me. Is it expected ?
I thought it could work.

But what works is if we use
/home/matus/git/libo/solver/unxlngx6.pro/inc/foo.h:
    @true

instead of just
/home/matus/git/libo/solver/unxlngx6.pro/inc/foo.h:

Do we want to hack contac-deps and add @true there ?
Is there another option or is this just wrong ?
Also, I am wondering, has this ever been working before ?

Thanks,
Matus


More information about the LibreOffice mailing list