summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 0cfd3dfdda176f8ad909117a8db6d1cf2d80b678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
VERSION=0.1
PREFIX=/usr/local
DESTDIR=
INSTALL=install

FILES=index.theme  Makefile README ChangeLog

install:
	mkdir -p $(DESTDIR)$(PREFIX)/icons/default
	$(INSTALL) index.theme $(DESTDIR)$(PREFIX)/icons/default
	for dir in 16x16 22x22 32x32 48x48 64x64 96x96 128x128 scalable; do \
	  for ctxt in actions apps devices filesystems mimetypes; do \
	    mkdir -p $(DESTDIR)$(PREFIX)/icons/default/$$dir/$$ctxt; \
	  done \
        done

dist:
	rm -rf default-icon-theme-$(VERSION)
	mkdir default-icon-theme-$(VERSION)
	cp $(FILES) default-icon-theme-$(VERSION)
	tar czvf default-icon-theme-$(VERSION).tar.gz default-icon-theme-$(VERSION)
	rm -rf default-icon-theme-$(VERSION)