[scripts] move scripts into Makefile targets