Depart from the convention of repeating conditions, function names etc.

The previous convention was to put this information in else (),
endmacro (), endif (), endfunction () etc blocks. This was bad practice.

Remove all instances of this and make cmakelint catch any new instances
of it.