# HG changeset patch
# User Akos Ladanyi <ladanyi@tmit.bme.hu>
# Date 1208880778 -7200
# Node ID 24d495be695528849d0c607cfb405bc93390a7df
# Parent e7a2aa2f39e78896b54827b78cfba0ba0af67dbc
Convert the EPS files to PNG when generating the documentation.
diff --git a/configure.ac b/configure.ac
|
a
|
b
|
|
| 27 | 27 | AC_PROG_LIBTOOL |
| 28 | 28 | |
| 29 | 29 | AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no]) |
| | 30 | AC_CHECK_PROG([gs_found],[gs],[yes],[no]) |
| 30 | 31 | |
| 31 | 32 | if test x"$lx_cmdline_cxxflags_set" != x"set" -a "$GXX" = yes; then |
| 32 | 33 | CXXFLAGS="$CXXFLAGS -Wall -W -Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -Woverloaded-virtual -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas" |
diff --git a/doc/Makefile.am b/doc/Makefile.am
|
a
|
b
|
|
| 6 | 6 | doc/license.dox \ |
| 7 | 7 | doc/mainpage.dox \ |
| 8 | 8 | doc/namespaces.dox \ |
| | 9 | doc/images \ |
| 9 | 10 | doc/html |
| 10 | 11 | |
| 11 | 12 | doc/html: |
| 12 | 13 | $(MAKE) $(AM_MAKEFLAGS) html |
| 13 | 14 | |
| 14 | | html-local: |
| | 15 | GS_COMMAND=gs -sDEVICE=png16m -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4 |
| | 16 | |
| | 17 | NODESHAPE_IMAGES = \ |
| | 18 | doc/images/nodeshape_0.png \ |
| | 19 | doc/images/nodeshape_1.png \ |
| | 20 | doc/images/nodeshape_2.png \ |
| | 21 | doc/images/nodeshape_3.png \ |
| | 22 | doc/images/nodeshape_4.png |
| | 23 | |
| | 24 | $(NODESHAPE_IMAGES): %.png: %.eps |
| | 25 | -mkdir doc/images |
| | 26 | if test ${gs_found} = yes; then \ |
| | 27 | $(GS_COMMAND) -r18 -sOutputFile=$@ $<; \ |
| | 28 | else \ |
| | 29 | echo; \ |
| | 30 | echo "Ghostscript not found."; \ |
| | 31 | echo; \ |
| | 32 | exit 1; \ |
| | 33 | fi |
| | 34 | |
| | 35 | html-local: $(NODESHAPE_IMAGES) |
| 15 | 36 | if test ${doxygen_found} = yes; then \ |
| 16 | 37 | cd doc; \ |
| 17 | 38 | doxygen Doxyfile; \ |
| … |
… |
|
| 26 | 47 | clean-local: |
| 27 | 48 | -rm -rf doc/html |
| 28 | 49 | -rm -f doc/doxygen.log |
| | 50 | -rm -f doc/images/*.png |
| | 51 | -rmdir doc/images |
| 29 | 52 | |
| 30 | 53 | update-external-tags: |
| 31 | 54 | wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \ |