]> granicus.if.org Git - fribidi/commitdiff
meson: fix docs install
authorTim-Philipp Müller <tim@centricular.com>
Tue, 20 Feb 2018 11:37:15 +0000 (11:37 +0000)
committerKhaled Hosny <khaledhosny@eglug.org>
Tue, 27 Feb 2018 09:31:12 +0000 (11:31 +0200)
Follow-up fix to commit c8ad556. The .def file contains all
exported symbols including exported variables. The autotools
docs build only installs man pages for the functions however,
so we need to special-case the two variable names if we don't
want to pass '-v' to c2man to create man pages for the exported
symbols as well.

doc/meson.build

index 5a11f029dc9b5469550a2f734f02e315af6fd98e..fe13ca6f8e67e66524e327fcd1896f8d275121bb 100644 (file)
@@ -19,7 +19,10 @@ gen_man_pages = []
 
 syms = result.stdout().strip().split('\n')
 foreach sym : syms
-  gen_man_pages += ['@0@.3'.format(sym)]
+  # for consistency with autotools build and because we don't pass -v to c2man
+  if sym != 'fribidi_unicode_version' and sym != 'fribidi_version_info'
+    gen_man_pages += ['@0@.3'.format(sym)]
+  endif
 endforeach
 
 c2man_incs = []