Commit 29fc0f5c authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

org: use optipng to compress png files

* doc/Makefile.am: If optipng is present, run it in dist-hook.
parent 659dfe95
...@@ -108,3 +108,8 @@ EXTRA_DIST = \ ...@@ -108,3 +108,8 @@ EXTRA_DIST = \
$(ORG_FILES) \ $(ORG_FILES) \
$(srcdir)/org-stamp \ $(srcdir)/org-stamp \
$(srcdir)/userdoc $(srcdir)/userdoc
dist-hook: optipng
.PHONY: optipng
optipng:
-(optipng -v >/dev/null) && optipng -o5 $(distdir)/userdoc/*.png
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment