<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY>
On Fri, 2011-06-10 at 15:45 +1000, Peter Hutterer wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<TT><FONT COLOR="#3c3c3c">Generate a man-page from the evdev.xml through the xslt/man.xsl stylesheet.</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#3c3c3c">Adds a requirement on the xorg util-macros and xsltproc.</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#3c3c3c">Signed-off-by: Peter Hutterer <<A HREF="mailto:peter.hutterer@who-t.net">peter.hutterer@who-t.net</A>></FONT></TT><BR>
<TT><FONT COLOR="#3c3c3c">---</FONT></TT><BR>
<TT><FONT COLOR="#3c3c3c">Taking this from a private thread to a public (archived!) list. Last</FONT></TT><BR>
<TT><FONT COLOR="#3c3c3c">argument of discussion was whether to distribute the man pages with the</FONT></TT><BR>
<TT><FONT COLOR="#3c3c3c">tarball or let the user build them (adding the requirement of xsltproc to</FONT></TT><BR>
<TT><FONT COLOR="#3c3c3c">build from the tarball). I don't care either way and Gaetan indicated that</FONT></TT><BR>
<TT><FONT COLOR="#3c3c3c">there are a few painful points when distributing generate man pages. So</FONT></TT><BR>
<TT><FONT COLOR="#3c3c3c">I say, screw it, let the users do it.</FONT></TT><BR>
<BR>
</BLOCKQUOTE>
Should there be a strong demand, we can model the code around libXi which has gone through the bug fixing round. It would be worth writing a test plan for this scenario. <BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<TT><FONT COLOR="#3c3c3c">This should be the patch then.</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#3c3c3c"> Makefile.am | 2 +-</FONT></TT><BR>
<TT><FONT COLOR="#3c3c3c"> configure.in | 10 ++++</FONT></TT><BR>
<TT><FONT COLOR="#3c3c3c"> man/Makefile.am | 17 +++++++</FONT></TT><BR>
<TT><FONT COLOR="#3c3c3c"> man/man.xsl | 133 +++++++++++++++++++++++++++++++++++++++++++++++++++++++</FONT></TT><BR>
<TT><FONT COLOR="#3c3c3c"> 4 files changed, 161 insertions(+), 1 deletions(-)</FONT></TT><BR>
<TT><FONT COLOR="#3c3c3c"> create mode 100644 man/Makefile.am</FONT></TT><BR>
<TT><FONT COLOR="#3c3c3c"> create mode 100644 man/man.xsl</FONT></TT><BR>
<BR>
<BR>
</BLOCKQUOTE>
<BR>
I was going to suggest adding $(AM_V_GEN) to XSLTPROC, but the module does not support silent rules, so instead I'll suggest removing it from $(SED). It might prevent someone else waisting time finding out why it does not work! When you get used to an environment...<BR>
<BR>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
</BODY>
</HTML>