Fixed a bug in makefile (doc directory was not being created).