Fix external doc build
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
a
|
b
|
|
101 | 101 | @abs_top_srcdir@/doc |
102 | 102 | EXAMPLE_PATTERNS = |
103 | 103 | EXAMPLE_RECURSIVE = NO |
104 | | IMAGE_PATH = @abs_top_srcdir@/doc/images |
| 104 | IMAGE_PATH = @abs_top_srcdir@/doc/images \ |
| 105 | @abs_top_builddir@/doc/images |
105 | 106 | INPUT_FILTER = |
106 | 107 | FILTER_PATTERNS = |
107 | 108 | FILTER_SOURCE_FILES = NO |
diff --git a/doc/Makefile.am b/doc/Makefile.am
a
|
b
|
|
7 | 7 | doc/license.dox \ |
8 | 8 | doc/mainpage.dox \ |
9 | 9 | doc/namespaces.dox \ |
10 | | doc/images \ |
11 | 10 | doc/html |
| 11 | |
| 12 | DOC_EPS_IMAGES18 = \ |
| 13 | nodeshape_0.eps \ |
| 14 | nodeshape_1.eps \ |
| 15 | nodeshape_2.eps \ |
| 16 | nodeshape_3.eps \ |
| 17 | nodeshape_4.eps |
| 18 | |
| 19 | DOC_EPS_IMAGES = \ |
| 20 | $(DOC_EPS_IMAGES18) |
| 21 | |
| 22 | DOC_PNG_IMAGES = \ |
| 23 | $(DOC_EPS_IMAGES:%.eps=doc/images/%.png) |
| 24 | |
| 25 | EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%) |
12 | 26 | |
13 | 27 | doc/html: |
14 | 28 | $(MAKE) $(AM_MAKEFLAGS) html |
15 | 29 | |
16 | 30 | GS_COMMAND=gs -sDEVICE=png16m -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4 |
17 | 31 | |
18 | | NODESHAPE_IMAGES = \ |
19 | | doc/images/nodeshape_0.png \ |
20 | | doc/images/nodeshape_1.png \ |
21 | | doc/images/nodeshape_2.png \ |
22 | | doc/images/nodeshape_3.png \ |
23 | | doc/images/nodeshape_4.png |
24 | | |
25 | | $(NODESHAPE_IMAGES): %.png: %.eps |
26 | | -mkdir doc/images |
| 32 | $(DOC_EPS_IMAGES18:%.eps=doc/images/%.png): %.png: %.eps |
| 33 | -mkdir -p doc/images |
27 | 34 | if test ${gs_found} = yes; then \ |
28 | 35 | $(GS_COMMAND) -r18 -sOutputFile=$@ $<; \ |
29 | 36 | else \ |
… |
… |
|
33 | 40 | exit 1; \ |
34 | 41 | fi |
35 | 42 | |
36 | | html-local: $(NODESHAPE_IMAGES) |
| 43 | html-local: $(DOC_PNG_IMAGES) |
37 | 44 | if test ${doxygen_found} = yes; then \ |
38 | 45 | cd doc; \ |
39 | 46 | doxygen Doxyfile; \ |