2014-01-15 22:40:34 +01:00
|
|
|
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"; \
|
2021-09-16 11:32:59 +02:00
|
|
|
cp "$$f" "$$dir/nsxiv.png"; \
|
|
|
|
chmod 644 "$$dir/nsxiv.png"; \
|
2014-01-15 22:40:34 +01:00
|
|
|
done
|