docs: correctly invoke man2html
authorJack Nagel <jacknagel@gmail.com>
Fri, 16 Dec 2011 06:21:21 +0000 (00:21 -0600)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 8 Feb 2012 18:58:36 +0000 (18:58 +0000)
man2html expects to find its input on stdin, so just passing the
filename will cause it to hang waiting for input.

[man2html 1.6g as shipped in Debian seems to be fine with files on the
command line, but apparently other versions aren't? -smcv]

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=43875

doc/Makefile.am

index 3fdb780..591efc9 100644 (file)
@@ -118,7 +118,7 @@ if DBUS_HAVE_MAN2HTML
 html_DATA += $(MAN_HTML_FILES)
 
 %.1.html: %.1
-       $(AM_V_GEN)( $(MAN2HTML) $< > $@.tmp && mv $@.tmp $@ )
+       $(AM_V_GEN)( $(MAN2HTML) $< > $@.tmp && mv $@.tmp $@ )
 endif
 
 if DBUS_CAN_UPLOAD_DOCS