gravatar
ladanyi@tmit.bme.hu
ladanyi@tmit.bme.hu
Convert the EPS files to PNG when generating the documentation
0 4 0
default
4 files changed with 36 insertions and 2 deletions:
↑ Collapse diff ↑
Ignore white space 192 line context
1 1
syntax: glob
2 2
*.obj
3 3
*.orig
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
16 17
config.log
17 18
config.status
18 19
libtool
19 20
stamp-h1
20 21
lemon/lemon.pc
21 22
lemon/libemon.la
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/.*
34 36
^objs.*/.*
35 37
^test/[a-z_]*$
36 38
^demo/.*_demo$
Ignore white space 192 line context
1 1
dnl Process this file with autoconf to produce a configure script.
2 2

	
3 3
dnl Version information.
4 4
m4_define([lemon_version_major], [0])
5 5
m4_define([lemon_version_minor], [99])
6 6
m4_define([lemon_version_micro], [])
7 7
m4_define([lemon_version_nano], [])
8 8
m4_define([lemon_version_tag], [hg])
9 9
m4_define([lemon_hg_revision], [m4_normalize(esyscmd([hg id -i]))])
10 10
m4_define([lemon_version], [lemon_version_major().lemon_version_minor()ifelse(lemon_version_micro(), [], [], [.lemon_version_micro()])ifelse(lemon_version_nano(), [], [], [.lemon_version_nano()])ifelse(lemon_version_tag(), [], [], lemon_version_tag(), [hg], [[_]lemon_version_tag()[_]lemon_hg_revision()], [[_]lemon_version_tag()])])
11 11

	
12 12
AC_PREREQ([2.59])
13 13
AC_INIT([LEMON], [lemon_version()], [lemon-devel@lemon.cs.elte.hu], [lemon])
14 14
AC_CONFIG_AUX_DIR([build-aux])
15 15
AC_CONFIG_MACRO_DIR([m4])
16 16
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects nostdinc])
17 17
AC_CONFIG_SRCDIR([lemon/list_graph.h])
18 18
AC_CONFIG_HEADERS([config.h lemon/config.h])
19 19

	
20 20
lx_cmdline_cxxflags_set=${CXXFLAGS+set}
21 21

	
22 22
dnl Checks for programs.
23 23
AC_PROG_CXX
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.
36 37
LX_CHECK_GLPK
37 38
LX_CHECK_CPLEX
38 39
LX_CHECK_SOPLEX
39 40

	
40 41
dnl Disable/enable building the demo programs
41 42
AC_ARG_ENABLE([demo],
42 43
AS_HELP_STRING([--enable-demo], [build the demo programs])
43 44
AS_HELP_STRING([--disable-demo], [do not build the demo programs @<:@default@:>@]),
44 45
              [], [enable_demo=no])
45 46
AC_MSG_CHECKING([whether to build the demo programs])
46 47
if test x"$enable_demo" != x"no"; then
47 48
  AC_MSG_RESULT([yes])
48 49
else
49 50
  AC_MSG_RESULT([no])
50 51
fi
51 52
AM_CONDITIONAL([WANT_DEMO], [test x"$enable_demo" != x"no"])
52 53

	
53 54
dnl Disable/enable building the binary tools
54 55
AC_ARG_ENABLE([tools],
55 56
AS_HELP_STRING([--enable-tools], [build additional tools @<:@default@:>@])
56 57
AS_HELP_STRING([--disable-tools], [do not build additional tools]),
57 58
              [], [enable_tools=yes])
58 59
AC_MSG_CHECKING([whether to build the additional tools])
59 60
if test x"$enable_tools" != x"no"; then
60 61
  AC_MSG_RESULT([yes])
61 62
else
62 63
  AC_MSG_RESULT([no])
63 64
fi
64 65
AM_CONDITIONAL([WANT_TOOLS], [test x"$enable_tools" != x"no"])
65 66

	
66 67
dnl Disable/enable building the benchmarks
67 68
AC_ARG_ENABLE([benchmark],
68 69
AS_HELP_STRING([--enable-benchmark], [build the benchmarks])
69 70
AS_HELP_STRING([--disable-benchmark], [do not build the benchmarks @<:@default@:>@]),
70 71
              [], [enable_benchmark=no])
71 72
AC_MSG_CHECKING([whether to build the benchmarks])
72 73
if test x"$enable_benchmark" != x"no"; then
73 74
  AC_MSG_RESULT([yes])
74 75
else
75 76
  AC_MSG_RESULT([no])
76 77
fi
77 78
AM_CONDITIONAL([WANT_BENCHMARK], [test x"$enable_benchmark" != x"no"])
78 79

	
79 80
dnl Checks for header files.
80 81
AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
81 82

	
82 83
dnl Checks for typedefs, structures, and compiler characteristics.
83 84
AC_C_CONST
84 85
AC_C_INLINE
85 86
AC_TYPE_SIZE_T
86 87
AC_HEADER_TIME
87 88
AC_STRUCT_TM
88 89

	
89 90
dnl Checks for library functions.
90 91
AC_HEADER_STDC
91 92
AC_CHECK_FUNCS(gettimeofday times ctime_r)
92 93

	
93 94
AC_CONFIG_FILES([
94 95
Makefile
95 96
doc/Doxyfile
96 97
lemon/lemon.pc
97 98
])
98 99

	
99 100
AC_OUTPUT
100 101

	
101 102
echo
102 103
echo '****************************** SUMMARY ******************************'
103 104
echo
104 105
echo Package version............... : $PACKAGE-$VERSION
105 106
echo
106 107
echo C++ compiler.................. : $CXX
107 108
echo C++ compiles flags............ : $CXXFLAGS
108 109
echo
109 110
echo GLPK support.................. : $lx_glpk_found
110 111
echo CPLEX support................. : $lx_cplex_found
111 112
echo SOPLEX support................ : $lx_soplex_found
112 113
echo
113 114
echo Build benchmarks.............. : $enable_benchmark
114 115
echo Build demo programs........... : $enable_demo
115 116
echo Build additional tools........ : $enable_tools
116 117
echo
117 118
echo The packace will be installed in
118 119
echo -n '  '
119 120
echo $prefix.
120 121
echo
121 122
echo '*********************************************************************'
122 123

	
123 124
echo
124 125
echo Configure complete, now type \'make\' and then \'make install\'.
125 126
echo
Ignore white space 192 line context
... ...
@@ -8,193 +8,194 @@
8 8
PROJECT_NUMBER         = @PACKAGE_VERSION@
9 9
OUTPUT_DIRECTORY       = 
10 10
CREATE_SUBDIRS         = NO
11 11
OUTPUT_LANGUAGE        = English
12 12
BRIEF_MEMBER_DESC      = YES
13 13
REPEAT_BRIEF           = NO
14 14
ABBREVIATE_BRIEF       = 
15 15
ALWAYS_DETAILED_SEC    = NO
16 16
INLINE_INHERITED_MEMB  = NO
17 17
FULL_PATH_NAMES        = YES
18 18
STRIP_FROM_PATH        = @abs_top_srcdir@
19 19
STRIP_FROM_INC_PATH    = @abs_top_srcdir@
20 20
SHORT_NAMES            = YES
21 21
JAVADOC_AUTOBRIEF      = NO
22 22
QT_AUTOBRIEF           = NO
23 23
MULTILINE_CPP_IS_BRIEF = NO
24 24
DETAILS_AT_TOP         = YES
25 25
INHERIT_DOCS           = NO
26 26
SEPARATE_MEMBER_PAGES  = NO
27 27
TAB_SIZE               = 8
28 28
ALIASES                = 
29 29
OPTIMIZE_OUTPUT_FOR_C  = NO
30 30
OPTIMIZE_OUTPUT_JAVA   = NO
31 31
OPTIMIZE_FOR_FORTRAN   = NO
32 32
OPTIMIZE_OUTPUT_VHDL   = NO
33 33
BUILTIN_STL_SUPPORT    = YES
34 34
CPP_CLI_SUPPORT        = NO
35 35
SIP_SUPPORT            = NO
36 36
DISTRIBUTE_GROUP_DOC   = NO
37 37
SUBGROUPING            = YES
38 38
TYPEDEF_HIDES_STRUCT   = NO
39 39
#---------------------------------------------------------------------------
40 40
# Build related configuration options
41 41
#---------------------------------------------------------------------------
42 42
EXTRACT_ALL            = NO
43 43
EXTRACT_PRIVATE        = YES
44 44
EXTRACT_STATIC         = YES
45 45
EXTRACT_LOCAL_CLASSES  = NO
46 46
EXTRACT_LOCAL_METHODS  = NO
47 47
EXTRACT_ANON_NSPACES   = NO
48 48
HIDE_UNDOC_MEMBERS     = YES
49 49
HIDE_UNDOC_CLASSES     = YES
50 50
HIDE_FRIEND_COMPOUNDS  = NO
51 51
HIDE_IN_BODY_DOCS      = NO
52 52
INTERNAL_DOCS          = NO
53 53
CASE_SENSE_NAMES       = YES
54 54
HIDE_SCOPE_NAMES       = YES
55 55
SHOW_INCLUDE_FILES     = YES
56 56
INLINE_INFO            = YES
57 57
SORT_MEMBER_DOCS       = NO
58 58
SORT_BRIEF_DOCS        = NO
59 59
SORT_GROUP_NAMES       = NO
60 60
SORT_BY_SCOPE_NAME     = NO
61 61
GENERATE_TODOLIST      = YES
62 62
GENERATE_TESTLIST      = YES
63 63
GENERATE_BUGLIST       = YES
64 64
GENERATE_DEPRECATEDLIST= YES
65 65
ENABLED_SECTIONS       = 
66 66
MAX_INITIALIZER_LINES  = 5
67 67
SHOW_USED_FILES        = YES
68 68
SHOW_DIRECTORIES       = YES
69 69
FILE_VERSION_FILTER    = 
70 70
#---------------------------------------------------------------------------
71 71
# configuration options related to warning and progress messages
72 72
#---------------------------------------------------------------------------
73 73
QUIET                  = NO
74 74
WARNINGS               = YES
75 75
WARN_IF_UNDOCUMENTED   = YES
76 76
WARN_IF_DOC_ERROR      = YES
77 77
WARN_NO_PARAMDOC       = NO
78 78
WARN_FORMAT            = "$file:$line: $text  "
79 79
WARN_LOGFILE           = doxygen.log
80 80
#---------------------------------------------------------------------------
81 81
# configuration options related to the input files
82 82
#---------------------------------------------------------------------------
83 83
INPUT                  = @abs_top_srcdir@/doc \
84 84
                         @abs_top_srcdir@/lemon \
85 85
                         @abs_top_srcdir@/lemon/bits \
86 86
                         @abs_top_srcdir@/lemon/concepts \
87 87
                         @abs_top_srcdir@/demo \
88 88
                         @abs_top_srcdir@/tools \
89 89
                         @abs_top_srcdir@/test/test_tools.h
90 90
INPUT_ENCODING         = UTF-8
91 91
FILE_PATTERNS          = *.h \
92 92
                         *.cc \
93 93
                         *.dox
94 94
RECURSIVE              = NO
95 95
EXCLUDE                = 
96 96
EXCLUDE_SYMLINKS       = NO
97 97
EXCLUDE_PATTERNS       = 
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
#---------------------------------------------------------------------------
111 112
SOURCE_BROWSER         = NO
112 113
INLINE_SOURCES         = NO
113 114
STRIP_CODE_COMMENTS    = YES
114 115
REFERENCED_BY_RELATION = NO
115 116
REFERENCES_RELATION    = NO
116 117
REFERENCES_LINK_SOURCE = YES
117 118
USE_HTAGS              = NO
118 119
VERBATIM_HEADERS       = NO
119 120
#---------------------------------------------------------------------------
120 121
# configuration options related to the alphabetical class index
121 122
#---------------------------------------------------------------------------
122 123
ALPHABETICAL_INDEX     = YES
123 124
COLS_IN_ALPHA_INDEX    = 2
124 125
IGNORE_PREFIX          = 
125 126
#---------------------------------------------------------------------------
126 127
# configuration options related to the HTML output
127 128
#---------------------------------------------------------------------------
128 129
GENERATE_HTML          = YES
129 130
HTML_OUTPUT            = html
130 131
HTML_FILE_EXTENSION    = .html
131 132
HTML_HEADER            = 
132 133
HTML_FOOTER            = 
133 134
HTML_STYLESHEET        = 
134 135
HTML_ALIGN_MEMBERS     = YES
135 136
GENERATE_HTMLHELP      = NO
136 137
GENERATE_DOCSET        = NO
137 138
DOCSET_FEEDNAME        = "Doxygen generated docs"
138 139
DOCSET_BUNDLE_ID       = org.doxygen.Project
139 140
HTML_DYNAMIC_SECTIONS  = NO
140 141
CHM_FILE               = 
141 142
HHC_LOCATION           = 
142 143
GENERATE_CHI           = NO
143 144
BINARY_TOC             = NO
144 145
TOC_EXPAND             = NO
145 146
DISABLE_INDEX          = NO
146 147
ENUM_VALUES_PER_LINE   = 4
147 148
GENERATE_TREEVIEW      = YES
148 149
TREEVIEW_WIDTH         = 250
149 150
#---------------------------------------------------------------------------
150 151
# configuration options related to the LaTeX output
151 152
#---------------------------------------------------------------------------
152 153
GENERATE_LATEX         = NO
153 154
LATEX_OUTPUT           = latex
154 155
LATEX_CMD_NAME         = latex
155 156
MAKEINDEX_CMD_NAME     = makeindex
156 157
COMPACT_LATEX          = YES
157 158
PAPER_TYPE             = a4wide
158 159
EXTRA_PACKAGES         = amsmath \
159 160
                         amssymb
160 161
LATEX_HEADER           = 
161 162
PDF_HYPERLINKS         = YES
162 163
USE_PDFLATEX           = YES
163 164
LATEX_BATCHMODE        = NO
164 165
LATEX_HIDE_INDICES     = NO
165 166
#---------------------------------------------------------------------------
166 167
# configuration options related to the RTF output
167 168
#---------------------------------------------------------------------------
168 169
GENERATE_RTF           = NO
169 170
RTF_OUTPUT             = rtf
170 171
COMPACT_RTF            = NO
171 172
RTF_HYPERLINKS         = NO
172 173
RTF_STYLESHEET_FILE    = 
173 174
RTF_EXTENSIONS_FILE    = 
174 175
#---------------------------------------------------------------------------
175 176
# configuration options related to the man page output
176 177
#---------------------------------------------------------------------------
177 178
GENERATE_MAN           = NO
178 179
MAN_OUTPUT             = man
179 180
MAN_EXTENSION          = .3
180 181
MAN_LINKS              = NO
181 182
#---------------------------------------------------------------------------
182 183
# configuration options related to the XML output
183 184
#---------------------------------------------------------------------------
184 185
GENERATE_XML           = NO
185 186
XML_OUTPUT             = xml
186 187
XML_SCHEMA             = 
187 188
XML_DTD                = 
188 189
XML_PROGRAMLISTING     = YES
189 190
#---------------------------------------------------------------------------
190 191
# configuration options for the AutoGen Definitions output
191 192
#---------------------------------------------------------------------------
192 193
GENERATE_AUTOGEN_DEF   = NO
193 194
#---------------------------------------------------------------------------
194 195
# configuration options related to the Perl module output
195 196
#---------------------------------------------------------------------------
196 197
GENERATE_PERLMOD       = NO
197 198
PERLMOD_LATEX          = NO
198 199
PERLMOD_PRETTY         = YES
199 200
PERLMOD_MAKEVAR_PREFIX = 
200 201
#---------------------------------------------------------------------------
Ignore white space 192 line context
1 1
EXTRA_DIST += \
2 2
	doc/Makefile \
3 3
	doc/Doxyfile.in \
4 4
	doc/coding_style.dox \
5 5
	doc/dirs.dox \
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
html-local:
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; \
22 50
	  echo "Doxygen not found."; \
23 51
	  echo; \
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

	
36 66
install-html-local: doc/html
37 67
	@$(NORMAL_INSTALL)
38 68
	$(mkinstalldirs) $(DESTDIR)$(htmldir)/docs
39 69
	for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
40 70
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
41 71
	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f"; \
42 72
	  $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/docs/$$f; \
43 73
	done
44 74

	
45 75
uninstall-local:
46 76
	@$(NORMAL_UNINSTALL)
47 77
	for p in doc/html/*.{html,css,png,map,gif,tag} ; do \
48 78
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
49 79
	  echo " rm -f $(DESTDIR)$(htmldir)/docs/$$f"; \
50 80
	  rm -f $(DESTDIR)$(htmldir)/docs/$$f; \
51 81
	done
52 82

	
53 83
.PHONY: update-external-tags
0 comments (0 inline)