Fix desktop file install, use DATADIR properly

This commit is contained in:
Enrico Tröger 2008-06-07 11:54:40 +02:00 committed by Christian Dywan
parent c1573fd10e
commit 17c5191100

View file

@ -76,10 +76,10 @@ def build (bld):
if bld.env ()['INTLTOOL']:
obj = bld.create_obj ('intltool_in')
obj.source = 'midori.desktop.in'
obj.destvar = 'PREFIX'
obj.subdir = 'share/applications'
obj.flags = '-d'
obj.source = 'midori.desktop.in'
obj.inst_var = 'DATADIR'
obj.inst_dir = 'applications'
obj.flags = '-d'
else:
# FIXME: process desktop.in without intltool
Params.pprint ('BLUE', "File midori.desktop not generated")