move generate.pl -> m4tpl