blob: 850f57ba3261a05d088298ab0353f303e8035aeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
PACKAGE = @PACKAGE_TARNAME@
VERSION = @PACKAGE_VERSION@
prefix = @prefix@
datadir = @datadir@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
distdir = $(PACKAGE)-$(VERSION)
FILES = README Makefile.in configure.ac configure install-sh index.theme ChangeLog COPYING
ICON_SIZES = 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 \
128x128 192x192 scalable
ICON_CONTEXTS = actions apps devices filesystems mimetypes stock emblems
STOCK_SUBS = chart code data form image io media navigation net object table text
all:
@:
install:
mkdir -p $(DESTDIR)$(datadir)/icons/hicolor
$(INSTALL_DATA) index.theme $(DESTDIR)$(datadir)/icons/hicolor
for dir in $(ICON_SIZES); do \
for ctxt in $(ICON_CONTEXTS); do \
mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/$$dir/$$ctxt; \
if [ "$$ctxt" = "stock" ]; then \
for sub in $(STOCK_SUBS); do \
mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/$$dir/$$ctxt/$$sub; \
done \
fi \
done \
done
dist:
rm -rf $(distdir)
mkdir $(distdir)
cp $(FILES) $(distdir)
tar czvf $(distdir).tar.gz $(distdir)
rm -rf $(distdir)
tag:
cvs tag DEFAULT_ICON_THEME_`echo $(VERSION)|sed "s/\./_/"`
# cause rebuilds
Makefile: Makefile.in config.status
./config.status Makefile
configure: configure.ac
autoconf
config.status: configure
./config.status --recheck
.PHONY: all install dist tag
|