mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
fix signals file
This commit is contained in:
parent
c06be88d8f
commit
fcbe19eb8c
@ -596,6 +596,12 @@ pc_requires = []
|
|||||||
if not glib_internal
|
if not glib_internal
|
||||||
pc_requires += glib_dep
|
pc_requires += glib_dep
|
||||||
endif
|
endif
|
||||||
|
signalsfile = docdir / 'signals.txt'
|
||||||
|
if signalsfile.startswith('/')
|
||||||
|
signalsfile = signalsfile.replace(get_option('prefix'), '${prefix}')
|
||||||
|
else
|
||||||
|
signalsfile = '${prefix}' / signalsfile
|
||||||
|
endif
|
||||||
pc.generate(filebase : 'irssi-1',
|
pc.generate(filebase : 'irssi-1',
|
||||||
name : 'Irssi',
|
name : 'Irssi',
|
||||||
description : 'Irssi chat client',
|
description : 'Irssi chat client',
|
||||||
@ -603,7 +609,7 @@ pc.generate(filebase : 'irssi-1',
|
|||||||
requires : pc_requires,
|
requires : pc_requires,
|
||||||
variables : [
|
variables : [
|
||||||
'irssimoduledir=${libdir}' / incdir / 'modules',
|
'irssimoduledir=${libdir}' / incdir / 'modules',
|
||||||
'signalsfile=${prefix}' / docdir / 'signals.txt'
|
'signalsfile=' + signalsfile
|
||||||
])
|
])
|
||||||
|
|
||||||
###########
|
###########
|
||||||
|
Loading…
Reference in New Issue
Block a user