src/static/img/apple-touch-icon-%-precomposed.png: src/static/img/ipfire-tux.png Makefile
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
$(CONVERT) -background none -flatten -density 1200 -bordercolor none -border 5%x5% \
- -resize $(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@) $< $@
+ -resize $(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@) -gravity center \
+ -extent $(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@)x$(patsubst src/static/img/apple-touch-icon-%-precomposed.png,%,$@) \
+ $< $@
# Docker
.PHONY: docker