doc/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 42372
ba3a49903905
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/

41105
02c3569bc32b Add gi-docgen as a subproject so we can convert the documentation to it
Gary Kramlich <grim@reaperworld.com>
parents: 40536
diff changeset
1 subdir('reference')
38473
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
2
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
3 if ENABLE_GTK
42372
ba3a49903905 Remove unused Meson variables
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41105
diff changeset
4 configure_file(
39451
31c873b5deaf First pass at making pidgin3 not clobber pidgin2
Gary Kramlich <grim@reaperworld.com>
parents: 38529
diff changeset
5 input : 'pidgin3.1.in',
31c873b5deaf First pass at making pidgin3 not clobber pidgin2
Gary Kramlich <grim@reaperworld.com>
parents: 38529
diff changeset
6 output : 'pidgin3.1',
38512
a8ee459a518c Fix bugs in pkgconfig and man page substitutions.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38506
diff changeset
7 configuration : man_conf,
38473
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
8 install : true,
40536
c0ea70247280 Switch join_paths and + to /.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 39451
diff changeset
9 install_dir : get_option('mandir') / 'man1')
38473
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
10 endif
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
11
38529
6b1f391a52ba Remove redundant option variables.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38515
diff changeset
12 if enable_consoleui
42372
ba3a49903905 Remove unused Meson variables
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41105
diff changeset
13 configure_file(
39451
31c873b5deaf First pass at making pidgin3 not clobber pidgin2
Gary Kramlich <grim@reaperworld.com>
parents: 38529
diff changeset
14 input : 'finch3.1.in',
31c873b5deaf First pass at making pidgin3 not clobber pidgin2
Gary Kramlich <grim@reaperworld.com>
parents: 38529
diff changeset
15 output : 'finch3.1',
38512
a8ee459a518c Fix bugs in pkgconfig and man page substitutions.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 38506
diff changeset
16 configuration : man_conf,
38473
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
17 install : true,
40536
c0ea70247280 Switch join_paths and + to /.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 39451
diff changeset
18 install_dir : get_option('mandir') / 'man1')
38473
919d72c1c8c0 Add many missing installations to meson build.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff changeset
19 endif

mercurial