doc/reference/meson.build

Mon, 13 Nov 2023 21:40:33 -0600

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Mon, 13 Nov 2023 21:40:33 -0600
changeset 42489
0edea2beaa95
parent 41105
02c3569bc32b
child 42678
0b9b81b6ff18
permissions
-rw-r--r--

Use libraries when generating pkgconfig files

This argument magically Does The Right Thing for both external and subproject
requirements, [though the docs are missing that](https://github.com/mesonbuild/meson/issues/6037#issuecomment-543938956).

Testing Done:
Compiled and checked the `meson-private/*.pc` files seemed alright still.

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

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