use a temporary gensrc directory