fixed time to change image, added icons to slideshow and flash, added change image...
[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 accelthemedir = $(datadir)/livewp/theme/Accel
32 acceltheme_DATA = theme/Accel/* 
33
34 fifteenthemedir = $(datadir)/livewp/theme/Fifteen
35 fifteentheme_DATA = theme/Fifteen/* 
36
37 liqflowthemedir = $(datadir)/livewp/theme/Liqflow
38 liqflowtheme_DATA = theme/Liqflow/* 
39
40 crazythemedir = $(datadir)/livewp/theme/CrazyChickens
41 crazytheme_DATA = theme/CrazyChickens/* 
42
43 #orrerythemedir = $(datadir)/livewp/theme/Orrery
44 #orrerytheme_DATA = theme/Orrery/* 
45
46 videothemedir = $(datadir)/livewp/theme/Video
47 videotheme_DATA = theme/Video/* 
48
49 flashthemedir = $(datadir)/livewp/theme/Flash
50 flashtheme_DATA = theme/Flash/* 
51
52 slideshowthemedir = $(datadir)/livewp/theme/Slideshow
53 slideshowtheme_DATA = theme/Slideshow/* 
54
55 xsnowthemedir = $(datadir)/livewp/theme/Xsnow
56 xsnowtheme_DATA = theme/Xsnow/* 
57
58 colorfloodthemedir = $(datadir)/livewp/theme/Colorflood
59 colorfloodtheme_DATA = theme/Colorflood/* 
60
61 conkythemedir = $(datadir)/livewp/theme/Conky
62 conkytheme_DATA = theme/Conky/* 
63
64 externalthemedir = $(datadir)/livewp/external_themes
65 externaltheme_DATA = external_themes/*.xml 
66
67 dbus_servicedir = $(datadir)/dbus-1/services
68 dbus_service_DATA = org.maemo.livewp.service
69
70
71 desktoppaneldir    = $(datadir)/applications/hildon-control-panel
72 desktoppanel_files = livewp.desktop
73 desktoppanel_DATA  = $(desktoppanel_files)
74
75 # The icons
76
77 icondir = $(datadir)/icons/hicolor
78
79 install-data-local:
80         i=livewp; \
81         $(mkinstalldirs) $(DESTDIR)$(icondir)/26x26/hildon; \
82         $(mkinstalldirs) $(DESTDIR)$(icondir)/40x40/hildon; \
83         $(mkinstalldirs) $(DESTDIR)$(icondir)/scalable/hildon; \
84         $(INSTALL_DATA) $(srcdir)/icons/$$i.26.png $(DESTDIR)$(icondir)/26x26/hildon/$$i.png; \
85         $(INSTALL_DATA) $(srcdir)/icons/$$i.40.png $(DESTDIR)$(icondir)/40x40/hildon/$$i.png; \
86         $(INSTALL_DATA) $(srcdir)/icons/$$i.40.png $(DESTDIR)$(icondir)/scalable/hildon/$$i.png;
87
88 uninstall-local:
89         i=livewp; \
90         rm $(DESTDIR)$(icondir)/26x26/hildon/$$i.png; \
91         rm $(DESTDIR)$(icondir)/40x40/hildon/$$i.png; \
92         $(DESTDIR)$(icondir)/scalable/hildon/$$i.png;
93
94
95 EXTRA_DIST = $(berlintheme_DATA) \
96              $(moderntheme_DATA) \
97              $(matrixtheme_DATA) \
98              $(acceltheme_DATA) \
99              $(fifteentheme_DATA) \
100              $(crazytheme_DATA) \
101              $(liqflowtheme_DATA) \
102              $(videotheme_DATA) \
103              $(flashtheme_DATA) \
104              $(slideshowtheme_DATA) \
105              $(xshowtheme_DATA) \
106              $(conkytheme_DATA) \
107              $(colorfloodtheme_DATA) \
108              $(externaltheme_DATA) \
109              $(dbus_service_DATA)
110
111
112 livewp.desktop: livewp.desktop.in
113         sed "s/__VERSION__/$(VERSION)/g" $< >$@.tmp && \
114         sed "s/__PACKAGE__/$(PACKAGE)/g" $@.tmp >$@ && \
115         $(RM) *.tmp
116