aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-06-18 13:12:14 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-06-18 13:14:09 +0200
commit7126cae4fd856c5bd7d9ad67abcb535fadcf391c (patch)
tree8a50b801efcc706060b6ed9e364cdcbd4c9f0808 /Makefile
parent28ccbc50f73f9a5e698f73c3000886416b9b5bd1 (diff)
downloadnetlink-notify-7126cae4fd856c5bd7d9ad67abcb535fadcf391c.tar.gz
netlink-notify-7126cae4fd856c5bd7d9ad67abcb535fadcf391c.tar.zst
Makefile: use rule for icon targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files 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