parser-clean is not considering GENERATE_PARSER flag and maintainer-clean-local is not considering GENERATE_MESSAGES and GENERATE_PARSER flags
because generate messages and parsers can be disabled, removing the generated files should also be disabled by: GENERATE_PARSER and GENERATE_MESSAGES flags, because there is no way to get the files back.
Edited by Razvan Becheriu