checked warnings, removed theme orrery
[livewp] / applet / data / Makefile.am
index 1128aa1..405bf62 100644 (file)
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 #
  
-awallpaperdir = $(datadir)/anwall
-awallpaper_DATA = sky.png sun.png town.png cloud1.png sky_dark.png
-EXTRA_DIST = $(awallpaper_DATA) 
+berlinthemedir = $(datadir)/livewp/theme/Berlin
+berlintheme_DATA = theme/Berlin/* 
+
+modernthemedir = $(datadir)/livewp/theme/Modern
+moderntheme_DATA = theme/Modern/*  
+
+matrixthemedir = $(datadir)/livewp/theme/Matrix
+matrixtheme_DATA = theme/Matrix/* 
+
+accelthemedir = $(datadir)/livewp/theme/Accel
+acceltheme_DATA = theme/Accel/* 
+
+fifteenthemedir = $(datadir)/livewp/theme/Fifteen
+fifteentheme_DATA = theme/Fifteen/* 
+
+crazythemedir = $(datadir)/livewp/theme/CrazyChickens
+crazytheme_DATA = theme/CrazyChickens/* 
+
+#orrerythemedir = $(datadir)/livewp/theme/Orrery
+#orrerytheme_DATA = theme/Orrery/* 
+
+videothemedir = $(datadir)/livewp/theme/Video
+videotheme_DATA = theme/Video/* 
+
+xsnowthemedir = $(datadir)/livewp/theme/Xsnow
+xsnowtheme_DATA = theme/Xsnow/* 
+
+colorfloodthemedir = $(datadir)/livewp/theme/Colorflood
+colorfloodtheme_DATA = theme/Colorflood/* 
+
+conkythemedir = $(datadir)/livewp/theme/Conky
+conkytheme_DATA = theme/Conky/* 
+
+externalthemedir = $(datadir)/livewp/external_themes
+externaltheme_DATA = external_themes/* 
+
+dbus_servicedir = $(datadir)/dbus-1/services
+dbus_service_DATA = org.maemo.livewp.service
+
+
+desktoppaneldir    = $(datadir)/applications/hildon-control-panel
+desktoppanel_files = livewp.desktop
+desktoppanel_DATA  = $(desktoppanel_files)
+
+# The icons
+
+icondir = $(datadir)/icons/hicolor
+
+install-data-local:
+       i=livewp; \
+       $(mkinstalldirs) $(DESTDIR)$(icondir)/26x26/hildon; \
+       $(mkinstalldirs) $(DESTDIR)$(icondir)/40x40/hildon; \
+       $(mkinstalldirs) $(DESTDIR)$(icondir)/scalable/hildon; \
+       $(INSTALL_DATA) $(srcdir)/icons/$$i.26.png $(DESTDIR)$(icondir)/26x26/hildon/$$i.png; \
+       $(INSTALL_DATA) $(srcdir)/icons/$$i.40.png $(DESTDIR)$(icondir)/40x40/hildon/$$i.png; \
+       $(INSTALL_DATA) $(srcdir)/icons/$$i.40.png $(DESTDIR)$(icondir)/scalable/hildon/$$i.png;
+
+uninstall-local:
+       i=livewp; \
+       rm $(DESTDIR)$(icondir)/26x26/hildon/$$i.png; \
+       rm $(DESTDIR)$(icondir)/40x40/hildon/$$i.png; \
+       $(DESTDIR)$(icondir)/scalable/hildon/$$i.png;
+
+
+EXTRA_DIST = $(berlintheme_DATA) \
+            $(moderntheme_DATA) \
+            $(matrixtheme_DATA) \
+            $(acceltheme_DATA) \
+            $(fifteentheme_DATA) \
+            $(crazytheme_DATA) \
+            #$(orrerytheme_DATA) \
+            $(videotheme_DATA) \
+            $(xshowtheme_DATA) \
+            $(conkytheme_DATA) \
+            $(colorfloodtheme_DATA) \
+            $(externaltheme_DATA) \
+            $(dbus_service_DATA)
+
+
+livewp.desktop: livewp.desktop.in
+       sed "s/__VERSION__/$(VERSION)/g" $< >$@.tmp && \
+       sed "s/__PACKAGE__/$(PACKAGE)/g" $@.tmp >$@ && \
+       $(RM) *.tmp