Make sure that srcdir has a full pathname so source indexing works.