summaryrefslogtreecommitdiff
path: root/Makefile
blob: 027158562dcf38b7447f1ec6fd37702580bed3b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY: all
all: dirs out/tg-solarized-dark.tdesktop-theme out/tg-solarized-light.tdesktop-theme
dirs: out/dark/.d out/light/.d

%/.d:
	mkdir -p $(dir $@)
	@touch $@

.SECONDARY:
out/%/colors.tdesktop-theme: solarized.part %.part colors.part
	cat $^ > $@

out/tg-solarized-%.tdesktop-theme: tiled.png out/%/colors.tdesktop-theme
	zip -j $@ $^

.PHONY: clean
clean:
	rm -rv out