File: Makefile

package info (click to toggle)
sxiv 1.3.2-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 392 kB
  • ctags: 482
  • sloc: ansic: 3,693; makefile: 55; sh: 44; awk: 30
file content (12 lines) | stat: -rw-r--r-- 288 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
PREFIX = /usr/local
ICONS  = 16x16.png 32x32.png 48x48.png 64x64.png 128x128.png

all:

install:
	set -e; 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