blob: 20b38d9a5a5b4485f41f4de736d53d3272bfba46 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
DISTCHECK_CONFIGURE_FLAGS = --disable-rendering --disable-icon-mapping
SUBDIRS = po svg
theme_in_files = index.theme.in.in
theme_DATA = $(theme_in_files:.theme.in.in=.theme)
THEME_DIRS=$(shell SIZES="$(icon_sizes)"; for size in $$SIZES; do for dir in `find $$size/* -type d`; do printf "$$dir,"; done; done | sed -e "s/,$$//g")
%.theme.in: %.theme.in.in
for size in $(icon_sizes); do \
make -C svg $$size; \
done
dirs="$(THEME_DIRS)"; \
sed -e "s|\@THEME_DIRS\@|$$dirs|g" < $< > $@; \
for dir in `echo $$dirs | sed -e "s/,/ /g"`; do \
size="`dirname $$dir`"; \
context="`basename $$dir`"; \
echo "[$$dir]" >> $@; \
echo "Size=$$size" >> $@; \
if test "$$context" = "actions"; then \
echo "Context=Actions" >> $@; \
fi; \
if test "$$context" = "animations"; then \
echo "Context=Animations" >> $@; \
fi; \
if test "$$context" = "apps"; then \
echo "Context=Applications" >> $@; \
fi; \
if test "$$context" = "categories"; then \
echo "Context=Categories" >> $@; \
fi; \
if test "$$context" = "devices"; then \
echo "Context=Devices" >> $@; \
fi; \
if test "$$context" = "emblems"; then \
echo "Context=Emblems" >> $@; \
fi; \
if test "$$context" = "emotes"; then \
echo "Context=Emotes" >> $@; \
fi; \
if test "$$context" = "mimetypes"; then \
echo "Context=MimeTypes" >> $@; \
fi; \
if test "$$context" = "places"; then \
echo "Context=Places" >> $@; \
fi; \
if test "$$context" = "status"; then \
echo "Context=Status" >> $@; \
fi; \
echo "Type=Threshold" >> $@; \
echo "" >> $@; \
done
@INTLTOOL_THEME_RULE@
render_in_files = render-bitmaps.pl.in
render_script = $(render_in_files:.pl.in=.pl)
if ENABLE_RENDERING
%.pl: %.pl.in
sed -e "s#\@PERL\@#$(PERL)#g" \
-e "s#\@INKSCAPE\@#$(INKSCAPE)#g" < $< > $@
chmod +x $@
endif
# we don't want to install mo files, all translations are already stored
# in theme files
install-data-local:
$(MAKE) -C po uninstall
if [ -h $(DESTDIR)$(themedir) ]; then \
rm -f $(DESTDIR)$(themedir); \
fi
if [ -d $(DESTDIR)$(themedir) ]; then \
touch $(DESTDIR)$(themedir); \
fi
EXTRA_DIST= \
$(theme_in_files) \
$(render_in_files)
CLEANFILES = \
$(theme_DATA) \
$(render_script)
MAINTAINERCLEANFILES = \
Makefile.in \
aclocal.m4 \
config.guess \
config.h.in \
config.sub \
configure \
depcomp \
install-sh \
intltool-*.in \
libtool \
ltmain.sh \
missing \
mkinstalldirs \
po/Makefile.in.in \
po/$(GETTEXT_PACKAGE).pot
|