aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--README.md1
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 974b337..1ea443b 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/README.md b/README.md
index ecf0d9c..30875f5 100644
--- a/README.md
+++ b/README.md
@@ -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.