rest: add public and doc directories to Makefile