Fix desktop file install, use DATADIR properly
This commit is contained in:
parent
c1573fd10e
commit
17c5191100
1 changed files with 4 additions and 4 deletions
8
wscript
8
wscript
|
@ -76,10 +76,10 @@ def build (bld):
|
||||||
|
|
||||||
if bld.env ()['INTLTOOL']:
|
if bld.env ()['INTLTOOL']:
|
||||||
obj = bld.create_obj ('intltool_in')
|
obj = bld.create_obj ('intltool_in')
|
||||||
obj.source = 'midori.desktop.in'
|
obj.source = 'midori.desktop.in'
|
||||||
obj.destvar = 'PREFIX'
|
obj.inst_var = 'DATADIR'
|
||||||
obj.subdir = 'share/applications'
|
obj.inst_dir = 'applications'
|
||||||
obj.flags = '-d'
|
obj.flags = '-d'
|
||||||
else:
|
else:
|
||||||
# FIXME: process desktop.in without intltool
|
# FIXME: process desktop.in without intltool
|
||||||
Params.pprint ('BLUE', "File midori.desktop not generated")
|
Params.pprint ('BLUE', "File midori.desktop not generated")
|
||||||
|
|
Loading…
Reference in a new issue