From 28ccbc50f73f9a5e698f73c3000886416b9b5bd1 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 17 Jun 2024 11:05:45 +0200 Subject: Makefile: convert icons with librsvg --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cdb839e..2f9b3ae 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # commands CC := gcc MD := markdown -CONVERT := convert -define png:compression-level=9 -background transparent +CONVERT := rsvg-convert INSTALL := install CP := cp RM := rm @@ -35,16 +35,16 @@ version.h: $(wildcard .git/HEAD .git/index .git/refs/tags/*) Makefile icons: icons/netlink-notify-up.png icons/netlink-notify-down.png icons/netlink-notify-address.png icons/netlink-notify-away.png icons/netlink-notify-up.png: icons/netlink-notify-up.svg - $(CONVERT) icons/netlink-notify-up.svg icons/netlink-notify-up.png + $(CONVERT) icons/netlink-notify-up.svg > icons/netlink-notify-up.png icons/netlink-notify-down.png: icons/netlink-notify-down.svg - $(CONVERT) icons/netlink-notify-down.svg icons/netlink-notify-down.png + $(CONVERT) icons/netlink-notify-down.svg > icons/netlink-notify-down.png icons/netlink-notify-address.png: icons/netlink-notify-address.svg - $(CONVERT) icons/netlink-notify-address.svg icons/netlink-notify-address.png + $(CONVERT) icons/netlink-notify-address.svg > icons/netlink-notify-address.png icons/netlink-notify-away.png: icons/netlink-notify-away.svg - $(CONVERT) icons/netlink-notify-away.svg icons/netlink-notify-away.png + $(CONVERT) icons/netlink-notify-away.svg > icons/netlink-notify-away.png README.html: README.md $(MD) README.md > README.html -- cgit v1.2.3-70-g09d2