MAN_SUBDIR parameter

Adds a MAN_SUBDIR parameter for specifying the name of the directory in which man pages are created. This allows for a man pages such as putc.3avr to be placed within man/man3/putc.3avr instead of man/man3avr/putc.3avr. If MAN_SUBDIR is not specified the previous behaviour is retained.