0
4
0
... | ... |
@@ -4,12 +4,13 @@ |
4 | 4 |
*.rej |
5 | 5 |
*~ |
6 | 6 |
*.o |
7 | 7 |
*.log |
8 | 8 |
*.lo |
9 | 9 |
*.tar.* |
10 |
*.bak |
|
10 | 11 |
Makefile.in |
11 | 12 |
aclocal.m4 |
12 | 13 |
config.h.in |
13 | 14 |
configure |
14 | 15 |
Makefile |
15 | 16 |
config.h |
... | ... |
@@ -22,12 +23,13 @@ |
22 | 23 |
lemon/stamp-h2 |
23 | 24 |
doc/Doxyfile |
24 | 25 |
.dirstamp |
25 | 26 |
.libs/* |
26 | 27 |
.deps/* |
27 | 28 |
demo/*.eps |
29 |
doc/images/*.png |
|
28 | 30 |
|
29 | 31 |
syntax: regexp |
30 | 32 |
(.*/)?\#[^/]*\#$ |
31 | 33 |
^doc/html/.* |
32 | 34 |
^autom4te.cache/.* |
33 | 35 |
^build-aux/.* |
... | ... |
@@ -24,12 +24,13 @@ |
24 | 24 |
AC_PROG_CXXCPP |
25 | 25 |
AC_PROG_INSTALL |
26 | 26 |
AC_DISABLE_SHARED |
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" |
33 | 34 |
fi |
34 | 35 |
|
35 | 36 |
dnl Checks for libraries. |
... | ... |
@@ -98,13 +98,14 @@ |
98 | 98 |
EXCLUDE_SYMBOLS = |
99 | 99 |
EXAMPLE_PATH = @abs_top_srcdir@/demo \ |
100 | 100 |
@abs_top_srcdir@/LICENSE \ |
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/gen-images |
|
105 | 106 |
INPUT_FILTER = |
106 | 107 |
FILTER_PATTERNS = |
107 | 108 |
FILTER_SOURCE_FILES = NO |
108 | 109 |
#--------------------------------------------------------------------------- |
109 | 110 |
# configuration options related to source browsing |
110 | 111 |
#--------------------------------------------------------------------------- |
... | ... |
@@ -6,16 +6,44 @@ |
6 | 6 |
doc/groups.dox \ |
7 | 7 |
doc/license.dox \ |
8 | 8 |
doc/mainpage.dox \ |
9 | 9 |
doc/namespaces.dox \ |
10 | 10 |
doc/html |
11 | 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/gen-images/%.png) |
|
24 |
|
|
25 |
EXTRA_DIST += $(DOC_EPS_IMAGES:%=doc/images/%) |
|
26 |
|
|
12 | 27 |
doc/html: |
13 | 28 |
$(MAKE) $(AM_MAKEFLAGS) html |
14 | 29 |
|
15 |
|
|
30 |
GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4 |
|
31 |
|
|
32 |
$(DOC_EPS_IMAGES18:%.eps=doc/gen-images/%.png): doc/gen-images/%.png: doc/images/%.eps |
|
33 |
-mkdir doc/gen-images |
|
34 |
if test ${gs_found} = yes; then \ |
|
35 |
$(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<; \ |
|
36 |
else \ |
|
37 |
echo; \ |
|
38 |
echo "Ghostscript not found."; \ |
|
39 |
echo; \ |
|
40 |
exit 1; \ |
|
41 |
fi |
|
42 |
|
|
43 |
html-local: $(DOC_PNG_IMAGES) |
|
16 | 44 |
if test ${doxygen_found} = yes; then \ |
17 | 45 |
cd doc; \ |
18 | 46 |
doxygen Doxyfile; \ |
19 | 47 |
cd ..; \ |
20 | 48 |
else \ |
21 | 49 |
echo; \ |
... | ... |
@@ -24,12 +52,14 @@ |
24 | 52 |
exit 1; \ |
25 | 53 |
fi |
26 | 54 |
|
27 | 55 |
clean-local: |
28 | 56 |
-rm -rf doc/html |
29 | 57 |
-rm -f doc/doxygen.log |
58 |
-rm -f $(DOC_PNG_IMAGES) |
|
59 |
-rm -rf doc/gen-images |
|
30 | 60 |
|
31 | 61 |
update-external-tags: |
32 | 62 |
wget -O doc/libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \ |
33 | 63 |
mv doc/libstdc++.tag.tmp doc/libstdc++.tag || \ |
34 | 64 |
rm doc/libstdc++.tag.tmp |
35 | 65 |
|
0 comments (0 inline)