doc/reference/meson.build

Sat, 30 Dec 2023 20:44:40 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Sat, 30 Dec 2023 20:44:40 -0600
changeset 42556
d2088215e302
parent 41105
02c3569bc32b
child 42678
0b9b81b6ff18
permissions
-rw-r--r--

Make sure our extra version information doesn't get passed to gi-docgen

gi-docgen uses a python library for verifing version numbers and it's quite
strict. So we just rebuild our version number from the parts, skipping the
extra bit and it's happy with that.

Testing Done:
Ran the `fedora-rawhide-amd64` convey plan without issue.

Reviewed at https://reviews.imfreedom.org/r/2899/

if get_option('doc')

subdir('libpurple')
subdir('protocols')

if ENABLE_GTK
	subdir('pidgin')
else
	pidgin_doc = []
endif

if enable_consoleui
	subdir('finch')
else
	finch_doc = []
endif

alias_target('doc', libpurple_doc, protocols_doc, pidgin_doc, finch_doc)

endif

mercurial