From 7126cae4fd856c5bd7d9ad67abcb535fadcf391c Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 18 Jun 2024 13:12:14 +0200 Subject: Makefile: use rule for icon targets --- Makefile | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 2f9b3ae..974b337 100644 --- a/Makefile +++ b/Makefile @@ -34,17 +34,8 @@ 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 - -icons/netlink-notify-down.png: icons/netlink-notify-down.svg - $(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 - -icons/netlink-notify-away.png: icons/netlink-notify-away.svg - $(CONVERT) icons/netlink-notify-away.svg > icons/netlink-notify-away.png +%.png: %.svg + $(CONVERT) $< > $@ README.html: README.md $(MD) README.md > README.html -- cgit v1.2.3-70-g09d2