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
4
wscript
4
wscript
|
@ -77,8 +77,8 @@ 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
|
||||||
|
|
Loading…
Reference in a new issue