diff options
author | Christian Hesse <mail@eworm.de> | 2024-06-17 11:05:45 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-06-18 13:14:04 +0200 |
commit | 28ccbc50f73f9a5e698f73c3000886416b9b5bd1 (patch) | |
tree | 6aa8d159876868c02ea1fdb57e5be2852504b106 | |
parent | 4b5bccab138cde032a4ede84b0a3b8805465dc32 (diff) | |
download | netlink-notify-28ccbc50f73f9a5e698f73c3000886416b9b5bd1.tar.gz netlink-notify-28ccbc50f73f9a5e698f73c3000886416b9b5bd1.tar.zst |
Makefile: convert icons with librsvg
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 6 insertions, 6 deletions
@@ -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 @@ -35,7 +35,7 @@ To compile and run `netlink-notify` you need: * [libnotify](https://developer.gnome.org/notification-spec/) * [linux](https://www.kernel.org/) * [markdown](https://daringfireball.net/projects/markdown/) (HTML documentation) -* [inkscape](https://inkscape.org/) (convert icons from SVG to PNG) +* [librsvg](https://wiki.gnome.org/Projects/LibRsvg) (convert icons from SVG to PNG) Some systems may require additional development packages for the libraries. Look for `libnotify-devel` or similar. |