summaryrefslogtreecommitdiff
path: root/themes/Makefile
blob: 288ee27b2fa8d5d669cb317a3619a292a326976c (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
PREFIX ?= /usr
INSTALL=install -c
themedir=$(DESTDIR)$(PREFIX)/share/elementary/themes
EDJE_FLAGS_VERBOSE_ =
EDJE_FLAGS_VERBOSE_0 =
EDJE_FLAGS_VERBOSE_1 = -v

all: tizen tizen-black tizen-hd tizen-black-hd
	echo $(escaped_prefix)

.SUFFIXES: .edc .edj
.edc.edj:
	cp ./inc/$(@:.edj=-inc.edc) ./inc/tmp-inc.edc
	#edje_cc -v -id ./images/$(@:.edj=) -sd ./sounds -fd ../objects $(@:.edj=.edc) # commented -sd ./sounds
	edje_cc $(EDJE_FLAGS_$(V)) -id ./images/$(@:.edj=) -fd ../objects $(@:.edj=.edc)
	rm ./inc/tmp-inc.edc

tizen: tizen.edj
tizen-black: tizen-black.edj
tizen-hd: tizen-hd.edj
tizen-black-hd: tizen-black-hd.edj

clean:
	rm -f *.edj

install:
	mkdir -p $(themedir)
	$(INSTALL) tizen*.edj $(themedir)

distclean: clean