blob: 2071ccf20c211a94bc8ee4672eaea79da0523074 (
plain) (
blame)
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
|
.POSIX:
CONFIGFILE = config.mk
include $(CONFIGFILE)
all:
generated-rules.mk: $(CONFIGFILE)
@test ! -e $@ || chmod -- u+w $@
printf '# %s\n' 'This file is generated from Makefile' > $@
printf '\n%1i$$(DIR_SUFFIX)/%%.png: scalable$$(DIR_SUFFIX)/%%.svg conv\n\t./conv $$@\n' $(SIZES) | \
sed 's/^[0-9]\+/&x&/' >> $@
@chmod -- a-w $@
clean:
-rm -f -- index.theme *.o *.su conv generated-rules.mk
-if test -n "$(DIR_SUFFIX)"; then rm -rf -- scalable$(DIR_SUFFIX); fi
-for s in $(SIZES); do printf "$${s}x$${s}$(DIR_SUFFIX)\n"; done | xargs rm -rf --
# These are just added so autocompletion works with them
all all-fast all-fast-icons install uninstall index.theme conv: generated-rules.mk
+@$(MAKE) -f make-stage-2.mk $@
.DEFAULT:
+@$(MAKE) generated-rules.mk
+@$(MAKE) -f make-stage-2.mk $@
.PHONY: all all-fast all-fast-icons install uninstall clean
|