From 135c4f9263c232456191a67d2e376c76813947c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Wed, 15 Jan 2014 22:40:34 +0100 Subject: Added window icons; fixes issue #125 --- icon/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 icon/Makefile (limited to 'icon/Makefile') 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 -- cgit v1.2.3