From 9d9dcc2459d8e82f4187b658a2f49e73b2f36890 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 30 May 2019 18:46:21 +0100 Subject: [PATCH] Fix dimensions of Apple touch icons Signed-off-by: Michael Tremer --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 3b29eb03..b3e2d558 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1006,7 +1006,9 @@ src/static/favicon.ico: src/static/img/ipfire-tux.png Makefile 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 -- 2.47.3