Manpage generation revisited
authorWouter Verhelst <w@uter.be>
Wed, 13 Apr 2011 11:03:23 +0000 (13:03 +0200)
committerWouter Verhelst <w@uter.be>
Wed, 13 Apr 2011 11:03:23 +0000 (13:03 +0200)
commitaaca16d42d1f2cc0746d23034704e4e22f7d295d
tree8170b442bad7e8b2979f654c620f6dd942f8d7f8
parent5d256392032d4aef91c56d06026f1bb8407ead3c
Manpage generation revisited

Previously, we would generate manpages using direct automake-style @foo@
substitution. These, however, contain data in shell syntaxis, which
results in a manpage in the style of '${prefix}/etc/nbd-server/config
allows to configure the nbd-server', which is confusing.

Instead, generate a shell script that outputs the manpage using shell
interpolation, which supposedly works correctly. It's a bit yuck, but
it's the way automake wants us to do these things.
configure.ac
man/Makefile.am
man/nbd-server.1.in.sgml
man/nbd-server.5.in.sgml