Support --flavor no-tmpl gtk-doc

Will trigger us to ignore tmpl/.