summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-08-08 09:50:57 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-08-08 09:50:57 +0200
commit52adfcab32527beaad4fbff1cb2bb241a4904c06 (patch)
treedca898c9f911579ec586014e04ab9a505e7a60ff
parent6d1203030e5ef04ad00a389af0800638deb3963b (diff)
downloadnetlink-notify-52adfcab32527beaad4fbff1cb2bb241a4904c06.tar.gz
netlink-notify-52adfcab32527beaad4fbff1cb2bb241a4904c06.tar.zst
use imagemagick for SVG to PNG conversion
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index b46132e..505fdef 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
CC := gcc
MD := markdown
-CONVERT := inkscape --export-png
+CONVERT := convert -define png:compression-level=9 -background transparent
INSTALL := install
RM := rm
CFLAGS += -O2 -Wall -Werror
@@ -16,10 +16,10 @@ netlink-notify: netlink-notify.c
-DVERSION="\"$(VERSION)\""
icons:
- $(CONVERT) netlink-notify-up.png netlink-notify-up.svg
- $(CONVERT) netlink-notify-down.png netlink-notify-down.svg
- $(CONVERT) netlink-notify-address.png netlink-notify-address.svg
- $(CONVERT) netlink-notify-away.png netlink-notify-away.svg
+ $(CONVERT) netlink-notify-up.svg netlink-notify-up.png
+ $(CONVERT) netlink-notify-down.svg netlink-notify-down.png
+ $(CONVERT) netlink-notify-address.svg netlink-notify-address.png
+ $(CONVERT) netlink-notify-away.svg netlink-notify-away.png
README.html: README.md
$(MD) README.md > README.html