summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2018-08-09 09:44:46 +0100
committerWill Thompson <will@willthompson.co.uk>2018-08-09 09:44:46 +0100
commitfdda6587d93c5919eae3b2096c79da8752d785fb (patch)
tree5cd8371750f64ebbe066daa004f7ca88d9046250
parent978e8c143185a93fee0ce51378f76fda0e06aae0 (diff)
Makefile: install non-symbolic scalable icon
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 95d20b5..f0dae0b 100644
--- a/Makefile
+++ b/Makefile
@@ -16,11 +16,13 @@ MANPAGE = bustle-pcap.1
DESKTOP_FILE = org.freedesktop.Bustle.desktop
APPDATA_FILE = org.freedesktop.Bustle.appdata.xml
ICON_SIZES = 16x16 22x22 32x32 48x48 256x256
-ICONS = \
+SCALABLE_ICONS = \
data/icons/hicolor/scalable/apps/org.freedesktop.Bustle.svg \
data/icons/hicolor/scalable/apps/org.freedesktop.Bustle-symbolic.svg \
- $(foreach size,$(ICON_SIZES),data/icons/hicolor/$(size)/apps/org.freedesktop.Bustle.png) \
$(NULL)
+ICONS = \
+ $(SCALABLE_ICONS) \
+ $(foreach size,$(ICON_SIZES),data/icons/hicolor/$(size)/apps/org.freedesktop.Bustle.png) \
all: $(BINARIES) $(MANPAGE) $(DESKTOP_FILE) $(APPDATA_FILE) $(ICONS)
@@ -71,7 +73,7 @@ install: all
$(foreach size,$(ICON_SIZES),mkdir -p $(DATADIR)/icons/hicolor/$(size)/apps; )
$(foreach size,$(ICON_SIZES),cp data/icons/hicolor/$(size)/apps/org.freedesktop.Bustle.png $(DATADIR)/icons/hicolor/$(size)/apps; )
mkdir -p $(DATADIR)/icons/hicolor/scalable/apps
- cp data/icons/hicolor/scalable/apps/org.freedesktop.Bustle-symbolic.svg $(DATADIR)/icons/hicolor/scalable/apps
+ cp $(SCALABLE_ICONS) $(DATADIR)/icons/hicolor/scalable/apps
$(MAKE) update-icon-cache
uninstall: