write man page and add man installation to Makefile