gtkbuilderdir = $(datadir)/aweather/
-dist_gtkbuilder_DATA = aweather.xml
+dist_gtkbuilder_DATA = main.ui
-.glade.xml:
- gtk-builder-convert $< $@
+configdir = $(datadir)/aweather/
+dist_config_DATA = defaults.ini
+
+if WIN32
+noinst_DATA = aweather.ico
+else
+desktopdir = $(datadir)/applications
+dist_desktop_DATA = aweather.desktop
+
+pixmapdir = $(datadir)/pixmaps
+dist_pixmap_DATA = aweather.png
+endif
+
+.svg.png:
+ rsvg -w 48 -h 48 $< $@
+.png.ico:
+ icotool -c $< -o $@
-clean-local:
- rm -f *.xml
maintainer-clean-local:
rm -f Makefile.in