summaryrefslogtreecommitdiff
path: root/icons/Makefile.am
diff options
context:
space:
mode:
authorfujiwarat <takao.fujiwara1@gmail.com>2012-07-12 19:37:50 +0900
committerfujiwarat <takao.fujiwara1@gmail.com>2012-07-12 19:37:50 +0900
commit6fbeb9223b4fa942933f4ceaea0c25161b1e6e55 (patch)
treecc108fcc4a85d2f17770eaa3e14801500423c568 /icons/Makefile.am
parent3947c625ffd89dfe269e78a4ce9de98f1cd91a2e (diff)
downloadibus-anthy-6fbeb9223b4fa942933f4ceaea0c25161b1e6e55.tar.gz
Added anthy themed icon.
Diffstat (limited to 'icons/Makefile.am')
-rw-r--r--icons/Makefile.am18
1 files changed, 15 insertions, 3 deletions
diff --git a/icons/Makefile.am b/icons/Makefile.am
index 0f933b0..fe97bde 100644
--- a/icons/Makefile.am
+++ b/icons/Makefile.am
@@ -20,12 +20,24 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-icons_DATA = \
+pngicons_DATA = \
ibus-anthy.png \
$(NULL)
-iconsdir = $(pkgdatadir)/icons
+if HAVE_PRIVATE_PNG
+pngiconsdir = $(pkgdatadir)/icons
+else
+pngiconsdir = /tmp
+endif
+
+scalable_icons_DATA = \
+ ibus-anthy.svg \
+ $(NULL)
+
+# You need to run gtk-update-icon-cache after the icons are installed.
+scalable_iconsdir = $(datadir)/icons/hicolor/scalable/apps/
EXTRA_DIST = \
- ibus-anthy.png \
+ $(pngicons_DATA) \
+ $(scalable_icons_DATA) \
$(NULL)