aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-06-17 11:05:45 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-06-18 13:14:04 +0200
commit28ccbc50f73f9a5e698f73c3000886416b9b5bd1 (patch)
tree6aa8d159876868c02ea1fdb57e5be2852504b106 /Makefile
parent4b5bccab138cde032a4ede84b0a3b8805465dc32 (diff)
downloadnetlink-notify-28ccbc50f73f9a5e698f73c3000886416b9b5bd1.tar.gz
netlink-notify-28ccbc50f73f9a5e698f73c3000886416b9b5bd1.tar.zst
Makefile: convert icons with librsvg
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
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