mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 02:10:07 +01:00
man: hide debug-gui from the libinput.man page if disabled
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
9a3429f4af
commit
83144a0edc
2 changed files with 9 additions and 3 deletions
|
|
@ -976,6 +976,12 @@ if get_option('install-tests')
|
|||
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',
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@ Print the version and exit
|
|||
.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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue