fixing makefile for doc generation / make dist