Fix make build to actually build an installable thing.

I refactored the makefile a bit. The main problem I was fixing was that out of the box make build didn't ensure that cdk/data existed so then the ascidoc dir got copied to the wrong place and the built artifact didn't install properly.

This change does probably make the makefile GNU make specific so if you don't want to do that, don't merge this.