mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[doc] use join_paths method & datadir config for generating default doc_dir
This is more sane than hardcoding 'share/doc/elinks'
This commit is contained in:
parent
4fec042747
commit
6453d0dcea
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user