python: doc: Remove generated files, put rules in Makefile.