Add macro package to docs and make target dir before build