change sed in Makefile from lenw pull request
adapt sed solution to use same as default backup suffix in Makefile
add conditional include of Makefile.local\
to allow for local overrides of DEPLOY_*