Install scalable application icon.
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 7 Oct 2013 15:00:42 +0000 (17:00 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 7 Oct 2013 15:00:42 +0000 (17:00 +0200)
Closes bug #40183

Smake
src/ui/gui/icons/automake.mk

diff --git a/Smake b/Smake
index 547b5a4efcb3a572bbcb4cd6251f5518a4409bce..d92bda4ed7f6e720154c6d8fb2147188eaf61f50 100644 (file)
--- a/Smake
+++ b/Smake
@@ -125,7 +125,7 @@ src/ui/gui/icons/apps/24x24/pspp.png \
 src/ui/gui/icons/apps/256x256/pspp.png \
 src/ui/gui/icons/apps/16x16/pspp.png \
 src/ui/gui/icons/apps/48x48/pspp.png \
-src/ui/gui/icons/apps/scalable/pspp.png
+src/ui/gui/icons/apps/scalable/pspp.svg
 
 CATEGORY_ICONS = \
 src/ui/gui/icons/categories/16x16/align-left.png \
@@ -418,3 +418,7 @@ src/ui/gui/icons/%.png: src/ui/gui/artwork/%.svg src/ui/gui/icons/COPYING_CCBYSA
        mkdir -p $(dir $@)
        $(call svg2png,$<,$(lastword $^),$@)
 
+
+src/ui/gui/icons/%.svg: src/ui/gui/artwork/%.svg
+       mkdir -p $(dir $@)
+       cp $< $@
index e09946bd9c5057c6d1e9a6cdc9973664b699945f..eebaffea5f7516f290df3ce7495862aab32d9b29 100644 (file)
@@ -4,7 +4,7 @@ EXTRA_DIST += $(icons) $(icon_srcs)
 
 themedir = $(DESTDIR)$(datadir)/icons/hicolor
 
-sizes=16x16 22x22  24x24 32x32 48x48 256x256
+sizes=16x16 22x22  24x24 32x32 48x48 256x256 scalable
 
 install-ext-icons:
        for context in apps mimetypes; do \