mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
doc: Add gtk-doc subproject fallback
Now that we require Meson 0.52 to build the doc, we can also pull gtk-doc as subproject when missing from the system. This requires to pull gtk-doc master because needed changes there haven't been release yet.
This commit is contained in:
parent
ed0e06097c
commit
5bd78907a7
@ -50,7 +50,9 @@ if get_option('gtk_doc')
|
||||
endif
|
||||
# Check we have the minimum gtk-doc version required. Older versions won't
|
||||
# generate correct documentation.
|
||||
dependency('gtk-doc', version : '>=1.32')
|
||||
dependency('gtk-doc', version : '>=1.32',
|
||||
fallback : ['gtk-doc', 'dummy_dep'],
|
||||
default_options : ['tests=false'])
|
||||
endif
|
||||
|
||||
subdir('gio')
|
||||
|
4
subprojects/gtk-doc.wrap
Normal file
4
subprojects/gtk-doc.wrap
Normal file
@ -0,0 +1,4 @@
|
||||
[wrap-git]
|
||||
directory=gtk-doc
|
||||
url=https://gitlab.gnome.org/GNOME/gtk-doc.git
|
||||
revision=master
|
Loading…
Reference in New Issue
Block a user