Commit 38b693c2 authored by Zeeshan Ali's avatar Zeeshan Ali

build: Only build service docs when library is enabled

This is wrong actually and service docs should be buildable on their own
but see the comment added in this patch for reasons on why we need to do
this for now.
parent 52407997
......@@ -50,7 +50,15 @@ subdir('data')
if get_option('gtk-doc')
# FIXME: The D-Bus docs should not need libgeoclue but after a few hours of
# banging my head agaist gtk-doc+meson and asking on IRC, I failed to find a
# way to tell gtk-doc to link to the uninstalled public-api static library. A
# non-working solution is in 'wip/fix-srv-docs' branch.
# If you look into this issue, you might also want to see how we can fix the
# dependency issue that stops the user to run `ninja -C build geoclue-doc`
# before `ninja -C build`.
if get_option('gtk-doc') and get_option('libgeoclue')
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment