summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2020-07-31 15:15:07 +0100
committerTim-Philipp Müller <tim@centricular.com>2020-07-31 15:17:09 +0100
commita5fd5dc47126aee7eaea8e1cd88b502948feb3be (patch)
treed3e9ec59a84cd334c2d76ef2c72f3315f728e4bf /doc
parent57a224f51d6c019e4ce5d75efb22f34a8330423e (diff)
meson: print configuration summary()
Fixes #249
Diffstat (limited to 'doc')
-rw-r--r--doc/meson.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/meson.build b/doc/meson.build
index 8b74c19..b46d350 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -1,3 +1,5 @@
+doc_targets = []
+
docbook2man = find_program('docbook2man', required: get_option('doc-man'))
docbook2txt = find_program('docbook2txt', required: get_option('doc-txt'))
docbook2pdf = find_program('docbook2pdf', required: get_option('doc-pdf'))
@@ -83,6 +85,8 @@ foreach f : doc_funcs_fncs
endforeach
if docbook2man.found()
+ doc_targets += ['man']
+
custom_target('devel-man',
input: [fontconfig_devel_sgml, funcs_sgml],
output: man_pages,
@@ -113,6 +117,8 @@ if docbook2man.found()
endif
if docbook2pdf.found()
+ doc_targets += ['PDF']
+
custom_target('devel-pdf',
input: [fontconfig_devel_sgml, funcs_sgml],
output: 'fontconfig-devel.pdf',
@@ -131,6 +137,8 @@ if docbook2pdf.found()
endif
if docbook2txt.found()
+ doc_targets += ['Text']
+
custom_target('devel-txt',
input: [fontconfig_devel_sgml, funcs_sgml],
output: 'fontconfig-devel.txt',
@@ -149,6 +157,8 @@ if docbook2txt.found()
endif
if docbook2html.found()
+ doc_targets += ['HTML']
+
custom_target('devel-html',
input: [fontconfig_devel_sgml, funcs_sgml],
output: 'fontconfig-devel.html',