1
0
Fork 0

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

fix signals file
This commit is contained in:
ailin-nemui 2023-02-12 13:51:44 +00:00 committed by GitHub
commit 2ac1f01b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

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