updage: refine Makefile.*in