Add missing ISO code for Wallis and Futuna, and neaten Makefile slightly

This commit is contained in:
JT 2013-01-26 14:47:04 +00:00
parent 62f2170ef2
commit e5bb88cc38
16 changed files with 10 additions and 20 deletions

View File

@ -11,9 +11,9 @@ ICNS_SIZES := $(filter-out 24 64,$(SIZES))
FLAGS := $(shell ls $(INDIR)) FLAGS := $(shell ls $(INDIR))
NORMAL := $(filter-out $(SQUARE) $(NEPAL),$(FLAGS))
SQUARE := $(filter Vatican-City Switzerland,$(FLAGS)) SQUARE := $(filter Vatican-City Switzerland,$(FLAGS))
NEPAL := $(filter Nepal,$(FLAGS)) NEPAL := $(filter Nepal,$(FLAGS))
NORMAL := $(filter-out $(SQUARE) $(NEPAL),$(FLAGS))
PNGCRUSH_OPTIONS ?= -q -brute -rem alla PNGCRUSH_OPTIONS ?= -q -brute -rem alla
@ -44,10 +44,8 @@ $3: $1
composite ${OVERLAYDIR}/$6/$7.png $$^ $8; $(copy_png) $8 $$@ composite ${OVERLAYDIR}/$6/$7.png $$^ $8; $(copy_png) $8 $$@
@rm -f $8 @rm -f $8
# flat iso # iso
$(call copy_file,$4,$2) $(call copy_file,$4,$2)
# shiny iso
$(call copy_file,$5,$3) $(call copy_file,$5,$3)
FLAG_FILES += $2 $3 $4 $5 FLAG_FILES += $2 $3 $4 $5
@ -55,20 +53,15 @@ endef
define define_icon define define_icon
# flat normal # normal
$1/flat/$5/$3.$5: $(addsuffix /$3.png,$(addprefix $1/flat/,$6)) $1/flat/$5/$3.$5: $(addsuffix /$3.png,$(addprefix $1/flat/,$6))
@mkdir -p $$(@D)
ifeq (ico,$5)
convert $$^ $$@
else
png2icns $$@ $$^ > /dev/null
endif
# flat iso
$(call copy_file,$2/flat/$5/$4.$5,$1/flat/$5/$3.$5)
# shiny normal
$1/shiny/$5/$3.$5: $(addsuffix /$3.png,$(addprefix $1/shiny/,$6)) $1/shiny/$5/$3.$5: $(addsuffix /$3.png,$(addprefix $1/shiny/,$6))
# iso
$(call copy_file,$2/flat/$5/$4.$5,$1/flat/$5/$3.$5)
$(call copy_file,$2/shiny/$5/$4.$5,$1/shiny/$5/$3.$5)
$1/flat/$5/$3.$5 $1/shiny/$5/$3.$5:
@mkdir -p $$(@D) @mkdir -p $$(@D)
ifeq (ico,$5) ifeq (ico,$5)
convert $$^ $$@ convert $$^ $$@
@ -76,9 +69,6 @@ else
png2icns $$@ $$^ > /dev/null png2icns $$@ $$^ > /dev/null
endif endif
# shiny iso
$(call copy_file,$2/shiny/$5/$4.$5,$1/shiny/$5/$3.$5)
FLAG_FILES += \ FLAG_FILES += \
$1/flat/$5/$3.$5 \ $1/flat/$5/$3.$5 \
$2/flat/$5/$4.$5 \ $2/flat/$5/$4.$5 \
@ -87,7 +77,6 @@ FLAG_FILES += \
endef endef
define define_flag define define_flag
$(foreach size,${SIZES},\ $(foreach size,${SIZES},\
$(call process_flag,\ $(call process_flag,\
${INDIR}/$1/$(size).png,\ ${INDIR}/$1/$(size).png,\

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -0,0 +1 @@
WF