aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-06-18 13:18:31 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-06-18 13:18:31 +0200
commit47f064f44d150fe1d27ef82af65a30cc32898fa8 (patch)
tree3d502155de5a1e0b7232ee1c10c97e217f0bdfea /Makefile
parent7126cae4fd856c5bd7d9ad67abcb535fadcf391c (diff)
downloadnetlink-notify-47f064f44d150fe1d27ef82af65a30cc32898fa8.tar.gz
netlink-notify-47f064f44d150fe1d27ef82af65a30cc32898fa8.tar.zst
Makefile: make oxipng optional
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 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