1 .PHONY
: themes tarballs
3 colors
=blue yellow brown grey green violet viorange red purple navy sea_blue emerald hot_orange white black
11 for color in
$(colors
); do \
12 for rule in theme-
$$color oxygen-cursors-
$$color.
tar.bz2
; do \
13 echo
-e
"$$rule: .depend\n\t\$$(MAKE) -f Makefile.colors COLOR=$$color $$rule" \
16 echo
-e
".PHONY: theme-$$color \nthemes: theme-$$color \ntarballs: oxygen-cursors-$$color.tar.bz2" >> .colorrules
; \
19 .depend
: $(patsubst %.in
,%.dep
,$(wildcard configs
/*.in
))
22 configs
/%.dep
: configs
/%.in
23 echo
"cursors/\$$(COLOR)/$(notdir $(patsubst %.in,%,$<)): \$$(addprefix pngs/\$$(COLOR)/,$$(cut -d ' ' -f 4 $< | xargs echo))" > $@