Commit 99d1e3b6 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Fix up

parent cd73f748
......@@ -13,11 +13,6 @@ prefix = get_option('prefix')
datadir = get_option('datadir')
metainfodir = join_paths(datadir, 'metainfo')
desktopdir = join_paths(datadir, 'applications')
if get_option('plugindir') == ''
plugindir = zathura.get_pkgconfig_variable('plugindir')
else
plugindir = get_option('plugindir')
endif
# required dependencies
zathura = dependency('zathura', version: '>=0.3.9')
......@@ -48,6 +43,12 @@ if get_option('link-external')
]
endif
if get_option('plugindir') == ''
plugindir = zathura.get_pkgconfig_variable('plugindir')
else
plugindir = get_option('plugindir')
endif
# defines
defines = [
'-DVERSION_MAJOR=@0@'.format(version_array[0]),
......
......@@ -5,5 +5,7 @@ option('link-external',
)
option('plugindir',
type: 'string', value: '',
description: 'Install to a different location than Zathuras plugin directory')
type: 'string',
value: '',
description: 'Install to a different location than Zathura\'s plugin directory'
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment