doc: tidy makefile rules