Commit 9e8cc6b7 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Fix up

parent 3a34e578
......@@ -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')
......@@ -27,6 +22,12 @@ poppler = dependency('poppler-glib', version: '>=0.18')
build_dependencies = [zathura, girara, glib, poppler]
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]),
......
option('plugindir',
type: 'string', value: '',
description: 'Install to a different location than Zathuras plugin directory')
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