autotools: use the headers variable to derive documentation files