Add missing ISO code for Wallis and Futuna, and neaten Makefile slightly
29
Makefile
@ -11,9 +11,9 @@ ICNS_SIZES := $(filter-out 24 64,$(SIZES))
|
||||
|
||||
FLAGS := $(shell ls $(INDIR))
|
||||
|
||||
NORMAL := $(filter-out $(SQUARE) $(NEPAL),$(FLAGS))
|
||||
SQUARE := $(filter Vatican-City Switzerland,$(FLAGS))
|
||||
NEPAL := $(filter Nepal,$(FLAGS))
|
||||
NORMAL := $(filter-out $(SQUARE) $(NEPAL),$(FLAGS))
|
||||
|
||||
PNGCRUSH_OPTIONS ?= -q -brute -rem alla
|
||||
|
||||
@ -44,10 +44,8 @@ $3: $1
|
||||
composite ${OVERLAYDIR}/$6/$7.png $$^ $8; $(copy_png) $8 $$@
|
||||
@rm -f $8
|
||||
|
||||
# flat iso
|
||||
# iso
|
||||
$(call copy_file,$4,$2)
|
||||
|
||||
# shiny iso
|
||||
$(call copy_file,$5,$3)
|
||||
|
||||
FLAG_FILES += $2 $3 $4 $5
|
||||
@ -55,20 +53,15 @@ endef
|
||||
|
||||
|
||||
define define_icon
|
||||
# flat normal
|
||||
# normal
|
||||
$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))
|
||||
|
||||
# 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)
|
||||
ifeq (ico,$5)
|
||||
convert $$^ $$@
|
||||
@ -76,9 +69,6 @@ else
|
||||
png2icns $$@ $$^ > /dev/null
|
||||
endif
|
||||
|
||||
# shiny iso
|
||||
$(call copy_file,$2/shiny/$5/$4.$5,$1/shiny/$5/$3.$5)
|
||||
|
||||
FLAG_FILES += \
|
||||
$1/flat/$5/$3.$5 \
|
||||
$2/flat/$5/$4.$5 \
|
||||
@ -87,7 +77,6 @@ FLAG_FILES += \
|
||||
endef
|
||||
|
||||
define define_flag
|
||||
|
||||
$(foreach size,${SIZES},\
|
||||
$(call process_flag,\
|
||||
${INDIR}/$1/$(size).png,\
|
||||
|
||||
BIN
flags/flags-iso/flat/16/WF.png
Normal file
|
After Width: | Height: | Size: 182 B |
BIN
flags/flags-iso/flat/24/WF.png
Normal file
|
After Width: | Height: | Size: 195 B |
BIN
flags/flags-iso/flat/32/WF.png
Normal file
|
After Width: | Height: | Size: 233 B |
BIN
flags/flags-iso/flat/48/WF.png
Normal file
|
After Width: | Height: | Size: 222 B |
BIN
flags/flags-iso/flat/64/WF.png
Normal file
|
After Width: | Height: | Size: 307 B |
BIN
flags/flags-iso/flat/icns/WF.icns
Normal file
BIN
flags/flags-iso/flat/ico/WF.ico
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
flags/flags-iso/shiny/16/WF.png
Normal file
|
After Width: | Height: | Size: 424 B |
BIN
flags/flags-iso/shiny/24/WF.png
Normal file
|
After Width: | Height: | Size: 770 B |
BIN
flags/flags-iso/shiny/32/WF.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
flags/flags-iso/shiny/48/WF.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
flags/flags-iso/shiny/64/WF.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
flags/flags-iso/shiny/icns/WF.icns
Normal file
BIN
flags/flags-iso/shiny/ico/WF.ico
Normal file
|
After Width: | Height: | Size: 34 KiB |
1
src/flags/Wallis-And-Futuna/code
Normal file
@ -0,0 +1 @@
|
||||
WF
|
||||