1
0
Fork 0

Merge pull request #1446 from ailin-nemui/signalsfile-fix

fix signals file

(cherry picked from commit 2ac1f01b94)
This commit is contained in:
ailin-nemui 2023-02-12 13:51:44 +00:00 committed by Ailin Nemui
parent 377824ae7f
commit 82618ce25d
1 changed files with 7 additions and 1 deletions

View File

@ -589,6 +589,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',
@ -596,7 +602,7 @@ pc.generate(filebase : 'irssi-1',
requires : pc_requires,
variables : [
'irssimoduledir=${libdir}' / incdir / 'modules',
'signalsfile=${prefix}' / docdir / 'signals.txt'
'signalsfile=' + signalsfile
])
###########