diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-11 12:04:27 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-11 12:04:27 +0000 |
| commit | 8aeb741ccbe2edb528e98a431bf55459a6836a9b (patch) | |
| tree | a14569b531d9867683a1ac1c94c8e0eb406906a8 /platform/linux/wscript | |
| parent | 4ba8772aef261da209bbb882325fd61a8b479fd7 (diff) | |
| parent | 22f2cd94132f93a159c2ce9fe263771cb5a5dbdf (diff) | |
Merge master.
Diffstat (limited to 'platform/linux/wscript')
| -rw-r--r-- | platform/linux/wscript | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/platform/linux/wscript b/platform/linux/wscript index 53a6efeac..fe6f4e2db 100644 --- a/platform/linux/wscript +++ b/platform/linux/wscript @@ -1,19 +1,25 @@ def build(bld): - d = { 'PREFIX' : '${PREFIX' } + d = { 'INSTALL_PREFIX' : bld.env.INSTALL_PREFIX } + d = { 'VERSION' : bld.env.VERSION } - obj = bld(features = 'subst') + obj = bld(features='subst') obj.source = 'dcpomatic.desktop.in' obj.target = 'dcpomatic.desktop' obj.dict = d - obj = bld(features = 'subst') + obj = bld(features='subst') obj.source = 'dcpomatic_batch.desktop.in' obj.target = 'dcpomatic_batch.desktop' obj.dict = d - obj = bld(features = 'subst') + obj = bld(features='subst') obj.source = 'dcpomatic_server.desktop.in' obj.target = 'dcpomatic_server.desktop' obj.dict = d + obj = bld(features='subst') + obj.source = 'dcpomatic.spec.in' + obj.target = 'dcpomatic.spec' + obj.dict = d + bld.install_files('${PREFIX}/share/applications', ['dcpomatic.desktop', 'dcpomatic_batch.desktop', 'dcpomatic_server.desktop']) |
