[WIP] makeapi publishing - do not blindly merge!!

This adds make-api publishing, but I have no means to test this due to winstall-hell =/