summaryrefslogtreecommitdiff
path: root/man/Makefile.am
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-08-01 16:47:38 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2011-08-02 13:08:27 +1000
commit5a299d1731d3db16ccdd3a66246c81ca522f1702 (patch)
tree65bd632d9ece4c94bf83a87dffba759c634ec680 /man/Makefile.am
parente8531dd6a981c6cf19a1d256c29e886e34e8f51a (diff)
Fix the FIXME output in man page .TH macros generated by asciidoc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'man/Makefile.am')
-rw-r--r--man/Makefile.am4
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) < $< > $@