c0198dcc7429573f1bc8b3a97239aa768f4324c4
[livewp] / applet / data / Makefile.am
1 #
2 # This file is part of live wallpaper 
3 #
4 # Copyright (C) 2010 Vlad Vasiliev
5 # Copyright (C) 2010 Tanya Makova
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License along
18 # with this program; if not, write to the Free Software Foundation, Inc.,
19 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21  
22 berlinthemedir = $(datadir)/livewp/theme/Berlin
23 berlintheme_DATA = theme/Berlin/* 
24
25 modernthemedir = $(datadir)/livewp/theme/Modern
26 moderntheme_DATA = theme/Modern/*  
27
28 matrixthemedir = $(datadir)/livewp/theme/Matrix
29 matrixtheme_DATA = theme/Matrix/* 
30
31 dbus_servicedir = $(datadir)/dbus-1/services
32 dbus_service_DATA = org.maemo.livewp.service
33
34 desktopdir    = $(datadir)/applications/hildon
35 desktop_files = livewp.desktop
36 desktop_DATA  = $(desktop_files)
37
38 desktoppaneldir    = $(datadir)/applications/hildon-control-panel
39 desktoppanel_files = livewpp.desktop
40 desktoppanel_DATA  = $(desktoppanel_files)
41
42
43
44 EXTRA_DIST = $(berlintheme_DATA) \
45              $(moderntheme_DATA) \
46              $(matrixtheme_DATA) \
47              $(dbus_service_DATA)
48
49
50 livewp.desktop: livewp.desktop.in
51         sed "s/__VERSION__/$(VERSION)/g" $< >$@.tmp && \
52         sed "s/__PACKAGE__/$(PACKAGE)/g" $@.tmp >$@ && \
53         $(RM) *.tmp
54
55 livewpp.desktop: livewpp.desktop.in
56         sed "s/__VERSION__/$(VERSION)/g" $< >$@.tmp && \
57         sed "s/__PACKAGE__/$(PACKAGE)/g" $@.tmp >$@ && \
58         $(RM) *.tmp
59