xmppc.1.txt is the manpage in asciidoc format. It can be converted to docbook / html with asciidoc and a2x to manpage. asciidoc -b docbook $(TXT_FILE) asciidoc -b html $(TXT_FILE) a2x --doctype manpage --format manpage $(TXT_FILE) Issue: #6