org: use optipng to compress png files
* doc/Makefile.am: If optipng is present, run it in dist-hook.
This commit is contained in:
parent
659dfe95e1
commit
29fc0f5caa
1 changed files with 5 additions and 0 deletions
|
|
@ -108,3 +108,8 @@ EXTRA_DIST = \
|
|||
$(ORG_FILES) \
|
||||
$(srcdir)/org-stamp \
|
||||
$(srcdir)/userdoc
|
||||
|
||||
dist-hook: optipng
|
||||
.PHONY: optipng
|
||||
optipng:
|
||||
-(optipng -v >/dev/null) && optipng -o5 $(distdir)/userdoc/*.png
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue