diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-12-02 18:37:05 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-12-02 18:37:05 +0000 |
commit | 258ff7f5eef3a0813f04c4c78f28f50fb601bef7 (patch) | |
tree | eba97deb5933aee79cdcfc77463340737224cf31 | |
parent | f1565c7b693145c8140421d1bf832f9d1b4336ea (diff) | |
download | xine-lib-258ff7f5eef3a0813f04c4c78f28f50fb601bef7.tar.gz xine-lib-258ff7f5eef3a0813f04c4c78f28f50fb601bef7.tar.bz2 |
Optimisation of generated documentation PNGs.
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | doc/hackersguide/Makefile.am | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ecdbb2b1b..181fd8dd5 100644 --- a/configure.ac +++ b/configure.ac @@ -1191,6 +1191,13 @@ AC_CHECK_PROG(RSVG, rsvg, rsvg, no) AM_CONDITIONAL([HAVE_RSVG], [test "$RSVG" != "no"]) dnl --------------------------------------------- +dnl ... and for PNG optimisation tool +dnl --------------------------------------------- + +AC_CHECK_PROG(OPTIPNG, optipng, optipng, no) +AM_CONDITIONAL([HAVE_OPTIPNG], [test "$OPTIPNG" != "no"]) + +dnl --------------------------------------------- dnl Output configuration files dnl --------------------------------------------- diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am index 2b65bfe90..37269eaf0 100644 --- a/doc/hackersguide/Makefile.am +++ b/doc/hackersguide/Makefile.am @@ -56,6 +56,9 @@ endif if HAVE_RSVG .svg.png: rsvg -f png $^ $@ +if HAVE_OPTIPNG + optipng $@ +endif else .svg.png: if test x"$(fail_if_missing)" = x"yes"; then \ |