[PATCH:libXi] Fix the FIXME output in man page .TH macros generated by asciidoc

Alan Coopersmith alan.coopersmith at oracle.com
Mon Aug 1 16:47:38 PDT 2011


Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 man/Makefile.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/man/Makefile.am b/man/Makefile.am
index 2181ea9..d4c37b3 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -155,6 +155,10 @@ XIFreeDeviceInfo.man: XIQueryDevice.man
 # Unable to use __libmansuffix__ as underscores are lost in txt --> xml conversion
 MAN_SUBSTS += -e 's/libmansuffix/$(LIB_MAN_SUFFIX)/g'
 
+# asciidoc is generating [FIXME...] values in the .TH line we should fix.
+MAN_SUBSTS += -e 's/\[FIXME: source\]/$(XORG_MAN_PAGE)/'
+MAN_SUBSTS += -e 's/\[FIXME: manual\]/XINPUT FUNCTIONS/'
+
 SUFFIXES = .man .$(LIB_MAN_SUFFIX)
 .man.$(LIB_MAN_SUFFIX):
 	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
-- 
1.7.3.2



More information about the xorg-devel mailing list