From 6453d0dcea117fdb858c51e6228b8f6bc4eb54be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D8=A3=D8=AD=D9=85=D8=AF=20=D8=A7=D9=84=D9=85=D8=AD=D9=85?= =?UTF-8?q?=D9=88=D8=AF=D9=8A=20=28Ahmed=20El-Mahmoudy=29?= Date: Sun, 30 Apr 2023 00:58:39 +0200 Subject: [PATCH] [doc] use join_paths method & datadir config for generating default doc_dir This is more sane than hardcoding 'share/doc/elinks' --- doc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/meson.build b/doc/meson.build index 12570e70..27a8fe97 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -19,7 +19,7 @@ endif doc_dir = get_option('docdir') if doc_dir == '' - doc_dir = get_option('prefix') / 'share/doc/elinks' + doc_dir = join_paths(get_option('prefix'), get_option('datadir'), 'doc', 'elinks') endif if pod2html.found()