Compilation of sources which include buildinfo.h should be dependent on ...

...target which generates buildinfo.h