1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-09 06:20:45 +00: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
pc_requires += glib_dep
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',
name : 'Irssi',
description : 'Irssi chat client',
@ -603,7 +609,7 @@ pc.generate(filebase : 'irssi-1',
requires : pc_requires,
variables : [
'irssimoduledir=${libdir}' / incdir / 'modules',
'signalsfile=${prefix}' / docdir / 'signals.txt'
'signalsfile=' + signalsfile
])
###########