mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-28 03:06:20 -04: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')
|
doc_dir = get_option('docdir')
|
||||||
|
|
||||||
if doc_dir == ''
|
if doc_dir == ''
|
||||||
doc_dir = get_option('prefix') / 'share/doc/elinks'
|
doc_dir = join_paths(get_option('prefix'), get_option('datadir'), 'doc', 'elinks')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if pod2html.found()
|
if pod2html.found()
|
||||||
|
Loading…
Reference in New Issue
Block a user