diff options
author | 2024-06-18 13:12:14 +0200 | |
---|---|---|
committer | 2024-06-18 13:14:09 +0200 | |
commit | 7126cae4fd856c5bd7d9ad67abcb535fadcf391c (patch) | |
tree | 8a50b801efcc706060b6ed9e364cdcbd4c9f0808 | |
parent | 28ccbc50f73f9a5e698f73c3000886416b9b5bd1 (diff) | |
download | netlink-notify-7126cae4fd856c5bd7d9ad67abcb535fadcf391c.tar.gz netlink-notify-7126cae4fd856c5bd7d9ad67abcb535fadcf391c.tar.zst |
Makefile: use rule for icon targets
-rw-r--r-- | Makefile | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -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 |