mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: make help optional
This isn't necessary for command line tooling and such.
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
gnome.yelp('sysprof',
|
||||
sources: ['index.page', 'introduction.page', 'profiling.page', 'faq.page', 'legal.xml'],
|
||||
)
|
||||
if get_option('help')
|
||||
gnome.yelp('sysprof',
|
||||
sources: ['index.page', 'introduction.page', 'profiling.page', 'faq.page', 'legal.xml'],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -23,3 +23,6 @@ option('systemdunitdir', type: 'string',
|
||||
option('debugdir', type: 'string',
|
||||
description: 'Look for global separate debug info in this path'
|
||||
)
|
||||
|
||||
# If Yelp documentation should be installed
|
||||
option('help', type: 'boolean')
|
||||
|
||||
Reference in New Issue
Block a user