1
0
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:
Ailin Nemui 2023-02-12 10:35:12 +01:00
parent c06be88d8f
commit fcbe19eb8c

View File

@ -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
]) ])
########### ###########