Makefile: separate out clean targets to the appropriate directory (when possible)
install: use env variables instead of absolute file names

also add comment for the `@mkdir -p "$(@D)"` line
replace instances of [ A == B ] by [ A = B ]
sage-spkg: add comment explaining USE_LOCAL_SCRIPTS