Use @basename@ in enumeration type templates
The @filename@ directive will use the full path of the file being parsed for enumeration types; we should use @basename@, instead, as it improves the reproducibility of the build by using only the file name.