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

@ -77,8 +77,8 @@ 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.inst_var = 'DATADIR'
obj.inst_dir = 'applications'
obj.flags = '-d'
else:
# FIXME: process desktop.in without intltool