I found the following line in an automake script
brickval_SOURCES = \
$(brickval_VALASOURCES:.vala=.c) \
$(brickval_VALASOURCES:.vala=.h)
the whole thing is here
I actually have a very good guess as to what it does, expand brickval_VALASOURCES then replace .vala with .c, but because of previous experiences I'd like to actually read what exactly this does in some kind of manual. I've looked in the autoconf, automake, and shell manuals and I've found nothing. I also tried google searches but it's hard to think of a good search term.