aboutsummaryrefslogtreecommitdiff
path: root/icon/Makefile
diff options
context:
space:
mode:
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