diff options
author | Christian Hesse <mail@eworm.de> | 2024-06-18 13:18:31 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-06-18 13:18:31 +0200 |
commit | 47f064f44d150fe1d27ef82af65a30cc32898fa8 (patch) | |
tree | 3d502155de5a1e0b7232ee1c10c97e217f0bdfea | |
parent | 7126cae4fd856c5bd7d9ad67abcb535fadcf391c (diff) | |
download | netlink-notify-47f064f44d150fe1d27ef82af65a30cc32898fa8.tar.gz netlink-notify-47f064f44d150fe1d27ef82af65a30cc32898fa8.tar.zst |
Makefile: make oxipng optional
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README.md | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -4,6 +4,7 @@ CC := gcc MD := markdown CONVERT := rsvg-convert +OXIPNG := oxipng INSTALL := install CP := cp RM := rm @@ -36,6 +37,7 @@ icons: icons/netlink-notify-up.png icons/netlink-notify-down.png icons/netlink-n %.png: %.svg $(CONVERT) $< > $@ + -$(OXIPNG) $@ README.html: README.md $(MD) README.md > README.html @@ -36,6 +36,7 @@ To compile and run `netlink-notify` you need: * [linux](https://www.kernel.org/) * [markdown](https://daringfireball.net/projects/markdown/) (HTML documentation) * [librsvg](https://wiki.gnome.org/Projects/LibRsvg) (convert icons from SVG to PNG) +* [oxipng](https://github.com/shssoichiro/oxipng) (optimize PNG icons) Some systems may require additional development packages for the libraries. Look for `libnotify-devel` or similar. |