Write a manpage and add build infrastructure.