grim/libgnt
Clone
Summary
Browse
Changes
Graph
Overhaul the convey builds
2021-09-27, Gary Kramlich
34678c8af458
Overhaul the convey builds
Testing Done:
Ran `convey debian-bullseye-amd64 debian-bookworm-amd64 fedora-34-amd64` and verified everything worked properly.
Reviewed at https://reviews.imfreedom.org/r/953/
DOC_MODULE
=
'libgnt'
# Extra content files, other than the main one.
content_files
=
[
'migrating-2to3.xml'
,
]
# Header files or dirs to ignore when scanning. Use base file/dir names
ignore_headers
=
[
'test'
,
'wms'
,
'gnt.h'
,
'gntinternal.h'
,
'gnt-skel.h'
,
'gntboxprivate.h'
,
'gntconfig.h'
,
'gntmainprivate.h'
,
'gntmarshal.h'
,
'gntmenuprivate.h'
,
'gntmenuitemprivate.h'
,
'gntncurses.h'
,
'gntstyleprivate.h'
,
'gnttreeprivate.h'
,
'gnttextviewprivate.h'
,
'gntwidgetprivate.h'
,
'gntwmprivate.h'
,
'gntwsprivate.h'
,
]
# Extra options to supply to gtkdoc-scan.
scan_args
=
[
'--deprecated-guards=GNT_DISABLE_DEPRECATED'
,
'--rebuild-types'
,
'--rebuild-sections'
,
]
configure_file
(
input
:
'version.xml.in'
,
output
:
'version.xml'
,
configuration
:
gnt_config
)
gnome
.
gtkdoc
(
DOC_MODULE
,
main_xml
:
DOC_MODULE
+
'-docs.xml'
,
content_files
:
content_files
,
src_dir
:
libgnt_inc
,
dependencies
:
libgnt_dep
,
install
:
true
,
ignore_headers
:
ignore_headers
,
scan_args
:
scan_args
,
gobject_typesfile
:
DOC_MODULE
+
'.types'
)