man.patch 788 B

1234567891011121314151617181920212223
  1. From c2d8072343d96cbbc22bae10207da2712b9a2ce4 Mon Sep 17 00:00:00 2001
  2. From: orbea <orbea@riseup.net>
  3. Date: Thu, 28 May 2020 07:15:20 -0700
  4. Subject: [PATCH] meson: Respect mandir.
  5. ---
  6. man/meson.build | 3 ++-
  7. 1 file changed, 2 insertions(+), 1 deletion(-)
  8. diff --git a/man/meson.build b/man/meson.build
  9. index 7d00274c..63248309 100644
  10. --- a/man/meson.build
  11. +++ b/man/meson.build
  12. @@ -7,6 +7,7 @@ if get_option('with_docs')
  13. 'picom-version='+version,
  14. '--format', 'manpage', '@INPUT@', '-D',
  15. meson.current_build_dir()],
  16. - install: true, install_dir: 'share/man/man1/')
  17. + install: true,
  18. + install_dir: join_paths(get_option('mandir'), 'man1'))
  19. endforeach
  20. endif