summaryrefslogtreecommitdiff
path: root/pixmaps/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2011-11-21 23:44:15 +0100
committerStefano Karapetsas <[email protected]>2011-11-21 23:44:15 +0100
commit69ecddf1317e71f35b1c1de00392dc76f8f1701c (patch)
treeaba29401d8d4b88f14d67aac2b0e60980a78fa2e /pixmaps/Makefile.am
downloadmate-sensors-applet-69ecddf1317e71f35b1c1de00392dc76f8f1701c.tar.bz2
mate-sensors-applet-69ecddf1317e71f35b1c1de00392dc76f8f1701c.tar.xz
Initial release bases on sensors-applet
Diffstat (limited to 'pixmaps/Makefile.am')
-rw-r--r--pixmaps/Makefile.am39
1 files changed, 39 insertions, 0 deletions
diff --git a/pixmaps/Makefile.am b/pixmaps/Makefile.am
new file mode 100644
index 0000000..8ff4d4e
--- /dev/null
+++ b/pixmaps/Makefile.am
@@ -0,0 +1,39 @@
+pixmapsdir = $(datadir)/pixmaps/sensors-applet
+pixmaps_DATA = \
+ very-low-temp-icon.png \
+ low-temp-icon.png \
+ normal-temp-icon.png \
+ high-temp-icon.png \
+ very-high-temp-icon.png
+
+deviceiconsdir = $(datadir)/icons/hicolor/22x22/devices
+deviceicons_DATA = \
+ sensors-applet-battery.png \
+ sensors-applet-case.png \
+ sensors-applet-chip.png \
+ sensors-applet-cpu.png \
+ sensors-applet-gpu.png \
+ sensors-applet-fan.png \
+ sensors-applet-drive-harddisk.png \
+ sensors-applet-memory.png
+
+appicondir = $(datadir)/icons/hicolor/48x48/apps
+appicon_DATA = sensors-applet.png
+
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+
+install-data-hook: update_icon_cache
+uninstall-hook: update_icon_cache
+update_icon_cache:
+ @-if test -z "$(DESTDIR)"; then \
+ echo "Updating Gtk icon cache."; \
+ $(gtk_update_icon_cache); \
+ else \
+ echo "*** Icon cache not updated. After (un)install, run this:"; \
+ echo "*** $(gtk_update_icon_cache)"; \
+ fi
+
+EXTRA_DIST = \
+ $(pixmaps_DATA) \
+ $(deviceicons_DATA) \
+ $(appicon_DATA) \ No newline at end of file