summaryrefslogtreecommitdiff
path: root/Makefile
blob: 54402ec62b7f590c02f9558e6db249e71ecf0c7e (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
PREFIX ?= /usr
INSTALL_DIR=$(DESTDIR)/opt/var/efl-theme-tizen-edc

INSTALL=install -c

$(warning $(CC) )

all: themes
	echo $(escaped_prefix)

themes: copy_edc	
	cd themes && make
	rm themes/tizen-*.edc

install_themes:
	cd themes && make install

install_edc:
	mkdir -p $(INSTALL_DIR)
	cp themes/tizen.edc themes/widgets $(INSTALL_DIR) -r

install: install_themes install_edc

copy_edc:
	cp themes/tizen.edc themes/tizen-black.edc
	cp themes/tizen.edc themes/tizen-hd.edc
	cp themes/tizen.edc themes/tizen-black-hd.edc

tizen:
	cd themes && make $@

tizen-black:
	cp themes/tizen.edc themes/$@.edc
	cd themes && make $@
	rm themes/tizen-*.edc

tizen-hd:
	cp themes/tizen.edc themes/$@.edc
	cd themes && make $@
	rm themes/tizen-*.edc

tizen-black-hd:
	cp themes/tizen.edc themes/$@.edc
	cd themes && make $@
	rm themes/tizen-*.edc

clean:
	rm -rf themes/*.edj
	rm -rf themes/tizen-*.edc

distclean: clean