aboutsummaryrefslogtreecommitdiff
path: root/icon/Makefile
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2014-01-15 22:40:34 +0100
committerBert Münnich <ber.t@posteo.de>2014-01-15 22:40:34 +0100
commit135c4f9263c232456191a67d2e376c76813947c5 (patch)
treef93fd250c9ed1cf9456530d1ecc257ebcdc7a55c /icon/Makefile
parent03b1d7cf7a1c1e859674ca6f69999e14b9346eac (diff)
Added window icons; fixes issue #125
Diffstat (limited to 'icon/Makefile')
-rw-r--r--icon/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/icon/Makefile b/icon/Makefile
new file mode 100644
index 0000000..bbb4786
--- /dev/null
+++ b/icon/Makefile
@@ -0,0 +1,12 @@
+PREFIX = /usr/local
+ICONS = 16x16.png 32x32.png 48x48.png 64x64.png 128x128.png
+
+all:
+
+install:
+ for f in $(ICONS); do \
+ dir="$(DESTDIR)$(PREFIX)/share/icons/hicolor/$${f%.png}/apps"; \
+ mkdir -p "$$dir"; \
+ cp "$$f" "$$dir/sxiv.png"; \
+ chmod 644 "$$dir/sxiv.png"; \
+ done