Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
else
man_config.set('HAVE_INSTALLED_TESTS', '')
endif
+if get_option('debug-gui')
+ man_config.set('HAVE_DEBUG_GUI', '')
+else
+ man_config.set('HAVE_DEBUG_GUI', '.\"')
+endif
+
src_man += files(
'tools/libinput.man',
'tools/libinput-analyze.man',
.TP 8
.B libinput\-debug\-events(1)
Print all events as seen by libinput
-.TP 8
-.B libinput\-debug\-gui(1)
-Show a GUI to visualize libinput's events
+@HAVE_DEBUG_GUI@.TP 8
+@HAVE_DEBUG_GUI@.B libinput\-debug\-gui(1)
+@HAVE_DEBUG_GUI@Show a GUI to visualize libinput's events
.TP 8
.B libinput\-debug\-tablet(1)
A commandline tool to debug tablet axis values