# HG changeset patch # User Matti Hamalainen # Date 1680596677 -10800 # Node ID 19f4b2c31f39b609ccbcf91479619d5b4ff71594 # Parent d8a32eb1f0e9a96c0931942426320ddc595ca14d Cleanup. diff -r d8a32eb1f0e9 -r 19f4b2c31f39 Makefile.gen --- a/Makefile.gen Fri Mar 17 13:13:16 2023 +0200 +++ b/Makefile.gen Tue Apr 04 11:24:37 2023 +0300 @@ -154,16 +154,16 @@ ### ### Application rules ### -#$(APP_IMG)icon-%.png: $(addprefix $(APP_IMG),$(LOGO_SVG)) +#$(APP_IMG)icon-%.png: $(APP_IMG)$(LOGO_SVG) # inkscape --export-area-page -w $(patsubst $(APP_IMG)icon-%.png,%,$@) -h $(patsubst $(APP_IMG)icon-%.png,%,$@) -e "$@" "$<" -#$(APP_IMG)logo.png: $(addprefix $(APP_IMG),$(LOGO_SVG)) +#$(APP_IMG)logo.png: $(APP_IMG)$(LOGO_SVG) # inkscape --export-area-page -w 258 -h 220 -e "$@" "$<" -$(APP_IMG)icon-%.png: $(addprefix $(APP_IMG),$(LOGO_IMG)) +$(APP_IMG)icon-%.png: $(APP_IMG)$(LOGO_IMG) convert "$<" -scale "$(patsubst $(APP_IMG)icon-%.png,%,$@)x$(patsubst $(APP_IMG)icon-%.png,%,$@)" "$@" -$(APP_IMG)logo.png: $(addprefix $(APP_IMG),$(LOGO_IMG)) +$(APP_IMG)logo.png: $(APP_IMG)$(LOGO_IMG) convert "$<" -scale "258x220" "$@" icon.ico: $(addprefix $(APP_IMG),$(ICON_PNGS))