mathematical 1.2.2 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -45
  3. data/Rakefile +6 -0
  4. data/ext/mathematical/extconf.rb +1 -1
  5. data/ext/mathematical/lasem/Makefile +1037 -0
  6. data/ext/mathematical/lasem/config.h +87 -0
  7. data/ext/mathematical/lasem/docs/Makefile +793 -0
  8. data/ext/mathematical/lasem/docs/reference/Makefile +735 -0
  9. data/ext/mathematical/lasem/docs/reference/lasem/Makefile +1023 -0
  10. data/ext/mathematical/lasem/itex2mml/Makefile +742 -0
  11. data/ext/mathematical/lasem/itex2mml/lex.yy.c +6294 -0
  12. data/ext/mathematical/lasem/itex2mml/y.tab.c +5796 -0
  13. data/ext/mathematical/lasem/itex2mml/y.tab.h +378 -0
  14. data/ext/mathematical/lasem/po/Makefile +413 -0
  15. data/ext/mathematical/lasem/src/Makefile +1322 -0
  16. data/ext/mathematical/lasem/src/lsmdomenumtypes.c +99 -0
  17. data/ext/mathematical/lasem/src/lsmdomenumtypes.h +26 -0
  18. data/ext/mathematical/lasem/src/lsmmathmlattributes.c +22 -0
  19. data/ext/mathematical/lasem/src/lsmmathmlenums.c +8 -0
  20. data/ext/mathematical/lasem/src/lsmmathmlenums.h +7 -0
  21. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c +737 -0
  22. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h +93 -0
  23. data/ext/mathematical/lasem/src/lsmmathmlmathelement.c +9 -1
  24. data/ext/mathematical/lasem/src/lsmmathmlstyle.h +8 -0
  25. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.c +78 -0
  26. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.h +7 -0
  27. data/ext/mathematical/lasem/src/lsmmathmltablerowelement.c +2 -2
  28. data/ext/mathematical/lasem/src/lsmmathmltraits.h +8 -0
  29. data/ext/mathematical/lasem/src/lsmsvgenumtypes.c +1083 -0
  30. data/ext/mathematical/lasem/src/lsmsvgenumtypes.h +111 -0
  31. data/ext/mathematical/lasem/tests/Makefile +765 -0
  32. data/ext/mathematical/mtex2MML/Makefile +25 -16
  33. data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
  34. data/ext/mathematical/mtex2MML/build/mtex2MML.h +1 -1
  35. data/ext/mathematical/mtex2MML/src/lex.yy.c +3140 -3130
  36. data/ext/mathematical/mtex2MML/src/main.c +1 -1
  37. data/ext/mathematical/mtex2MML/src/mtex2MML.h +1 -1
  38. data/ext/mathematical/mtex2MML/src/mtex2MML.l +4 -1
  39. data/ext/mathematical/mtex2MML/src/mtex2MML.y +41 -42
  40. data/ext/mathematical/mtex2MML/src/parse_extras.c +148 -58
  41. data/ext/mathematical/mtex2MML/src/parse_extras.h +11 -3
  42. data/ext/mathematical/mtex2MML/src/y.tab.c +5902 -6075
  43. data/ext/mathematical/mtex2MML/src/y.tab.h +306 -313
  44. data/ext/mathematical/mtex2MML/tests/basic.c +2 -2
  45. data/ext/mathematical/mtex2MML/tests/deps/trim/trim.h +1 -1
  46. data/ext/mathematical/mtex2MML/tests/maliciousness.c +0 -1
  47. data/ext/mathematical/mtex2MML/tests/mathjax.c +11 -1
  48. data/ext/mathematical/mtex2MML/tests/numbered_equations.c +28 -1
  49. data/lib/mathematical/version.rb +1 -1
  50. data/mathematical.gemspec +3 -3
  51. data/test/mathematical/fixtures/png/numeric_test_1.png +0 -0
  52. data/test/mathematical/fixtures/png/numeric_test_3.png +0 -0
  53. data/test/mathematical/fixtures_test.rb +1 -6
  54. data/test/mathematical/mathjax_test.rb +2 -0
  55. data/test/test_helper.rb +10 -0
  56. metadata +28 -11
@@ -0,0 +1,1023 @@
1
+ # Makefile.in generated by automake 1.15 from Makefile.am.
2
+ # docs/reference/lasem/Makefile. Generated from Makefile.in by configure.
3
+
4
+ # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
+
6
+ # This Makefile.in is free software; the Free Software Foundation
7
+ # gives unlimited permission to copy and/or distribute it,
8
+ # with or without modifications, as long as this notice is preserved.
9
+
10
+ # This program is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
+ # PARTICULAR PURPOSE.
14
+
15
+
16
+
17
+ # GLIB - Library of useful C routines
18
+
19
+ # -*- mode: makefile -*-
20
+
21
+ ####################################
22
+ # Everything below here is generic #
23
+ ####################################
24
+
25
+ am__is_gnu_make = { \
26
+ if test -z '$(MAKELEVEL)'; then \
27
+ false; \
28
+ elif test -n '$(MAKE_HOST)'; then \
29
+ true; \
30
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
31
+ true; \
32
+ else \
33
+ false; \
34
+ fi; \
35
+ }
36
+ am__make_running_with_option = \
37
+ case $${target_option-} in \
38
+ ?) ;; \
39
+ *) echo "am__make_running_with_option: internal error: invalid" \
40
+ "target option '$${target_option-}' specified" >&2; \
41
+ exit 1;; \
42
+ esac; \
43
+ has_opt=no; \
44
+ sane_makeflags=$$MAKEFLAGS; \
45
+ if $(am__is_gnu_make); then \
46
+ sane_makeflags=$$MFLAGS; \
47
+ else \
48
+ case $$MAKEFLAGS in \
49
+ *\\[\ \ ]*) \
50
+ bs=\\; \
51
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
52
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
53
+ esac; \
54
+ fi; \
55
+ skip_next=no; \
56
+ strip_trailopt () \
57
+ { \
58
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
59
+ }; \
60
+ for flg in $$sane_makeflags; do \
61
+ test $$skip_next = yes && { skip_next=no; continue; }; \
62
+ case $$flg in \
63
+ *=*|--*) continue;; \
64
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
65
+ -*I?*) strip_trailopt 'I';; \
66
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
67
+ -*O?*) strip_trailopt 'O';; \
68
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
69
+ -*l?*) strip_trailopt 'l';; \
70
+ -[dEDm]) skip_next=yes;; \
71
+ -[JT]) skip_next=yes;; \
72
+ esac; \
73
+ case $$flg in \
74
+ *$$target_option*) has_opt=yes; break;; \
75
+ esac; \
76
+ done; \
77
+ test $$has_opt = yes
78
+ am__make_dryrun = (target_option=n; $(am__make_running_with_option))
79
+ am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
80
+ pkgdatadir = $(datadir)/lasem
81
+ pkgincludedir = $(includedir)/lasem
82
+ pkglibdir = $(libdir)/lasem
83
+ pkglibexecdir = $(libexecdir)/lasem
84
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
85
+ install_sh_DATA = $(install_sh) -c -m 644
86
+ install_sh_PROGRAM = $(install_sh) -c
87
+ install_sh_SCRIPT = $(install_sh) -c
88
+ INSTALL_HEADER = $(INSTALL_DATA)
89
+ transform = $(program_transform_name)
90
+ NORMAL_INSTALL = :
91
+ PRE_INSTALL = :
92
+ POST_INSTALL = :
93
+ NORMAL_UNINSTALL = :
94
+ PRE_UNINSTALL = :
95
+ POST_UNINSTALL = :
96
+ build_triplet = x86_64-apple-darwin14.3.0
97
+ host_triplet = x86_64-apple-darwin14.3.0
98
+ subdir = docs/reference/lasem
99
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
100
+ am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
101
+ $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/introspection.m4 \
102
+ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
103
+ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
104
+ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
105
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
106
+ $(ACLOCAL_M4)
107
+ DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
108
+ mkinstalldirs = $(install_sh) -d
109
+ CONFIG_HEADER = $(top_builddir)/config.h
110
+ CONFIG_CLEAN_FILES =
111
+ CONFIG_CLEAN_VPATH_FILES =
112
+ AM_V_P = $(am__v_P_$(V))
113
+ am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
114
+ am__v_P_0 = false
115
+ am__v_P_1 = :
116
+ AM_V_GEN = $(am__v_GEN_$(V))
117
+ am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
118
+ am__v_GEN_0 = @echo " GEN " $@;
119
+ am__v_GEN_1 =
120
+ AM_V_at = $(am__v_at_$(V))
121
+ am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
122
+ am__v_at_0 = @
123
+ am__v_at_1 =
124
+ SOURCES =
125
+ DIST_SOURCES =
126
+ am__can_run_installinfo = \
127
+ case $$AM_UPDATE_INFO_DIR in \
128
+ n|no|NO) false;; \
129
+ *) (install-info --version) >/dev/null 2>&1;; \
130
+ esac
131
+ am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
132
+ am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.decl \
133
+ $(top_srcdir)/gtk-doc.make
134
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
135
+ ACLOCAL = ${SHELL} /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/missing aclocal-1.15
136
+ ALL_LINGUAS =
137
+ AMTAR = $${TAR-tar}
138
+ AM_DEFAULT_VERBOSITY = 0
139
+ AR = ar
140
+ AUTOCONF = ${SHELL} /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/missing autoconf
141
+ AUTOHEADER = ${SHELL} /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/missing autoheader
142
+ AUTOMAKE = ${SHELL} /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/missing automake-1.15
143
+ AWK = awk
144
+ CATALOGS =
145
+ CATOBJEXT = .gmo
146
+ CC = gcc
147
+ CCDEPMODE = depmode=gcc3
148
+ CFLAGS = -I/usr/local/include -Wformat=2 -Wmissing-format-attribute -Wextra -Wundef -Wstrict-prototypes -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wmissing-noreturn -Wmissing-declarations -Wcast-align -Winline -Waddress-space -Wbitwise -Wcast-to-as -Wno-pointer-sign -Wdefault-bitfield-sign -Wdo-while -Wparen-string -Wptr-subtraction-blows -Wreturn-void -Wtypesign -Wno-unused-parameter -Wno-sign-compare
149
+ CPP = gcc -E
150
+ CPPFLAGS =
151
+ CYGPATH_W = echo
152
+ DATADIRNAME = share
153
+ DEFS = -DHAVE_CONFIG_H
154
+ DEPDIR = .deps
155
+ DLLTOOL = false
156
+ DSYMUTIL = dsymutil
157
+ DUMPBIN =
158
+ ECHO_C = \c
159
+ ECHO_N =
160
+ ECHO_T =
161
+ EGREP = /usr/bin/grep -E
162
+ EXEEXT =
163
+ FGREP = /usr/bin/grep -F
164
+ GETTEXT_PACKAGE = lasem-0.6
165
+ GLIB_MKENUMS = /usr/local/bin/glib-mkenums
166
+ GMOFILES =
167
+ GMSGFMT = /usr/local/bin/msgfmt
168
+ GREP = /usr/bin/grep
169
+ GTKDOC_CHECK = gtkdoc-check.test
170
+ GTKDOC_CHECK_PATH = /usr/local/bin/gtkdoc-check
171
+ GTKDOC_DEPS_CFLAGS = -I/usr/local/Cellar/glib/2.44.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.44.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include
172
+ GTKDOC_DEPS_LIBS = -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgobject-2.0 -lglib-2.0 -lintl
173
+ GTKDOC_MKPDF = /usr/local/bin/gtkdoc-mkpdf
174
+ GTKDOC_REBASE = /usr/local/bin/gtkdoc-rebase
175
+ HTML_DIR = ${datadir}/gtk-doc/html
176
+ INSTALL = /usr/bin/install -c
177
+ INSTALL_DATA = ${INSTALL} -m 644
178
+ INSTALL_PROGRAM = ${INSTALL}
179
+ INSTALL_SCRIPT = ${INSTALL}
180
+ INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
181
+ INSTOBJEXT = .mo
182
+ INTLLIBS = -lintl
183
+ INTLTOOL_EXTRACT = /usr/local/bin/intltool-extract
184
+ INTLTOOL_MERGE = /usr/local/bin/intltool-merge
185
+ INTLTOOL_PERL = /usr/bin/perl
186
+ INTLTOOL_UPDATE = /usr/local/bin/intltool-update
187
+ INTLTOOL_V_MERGE = $(INTLTOOL__v_MERGE_$(V))
188
+ INTLTOOL_V_MERGE_OPTIONS = $(intltool__v_merge_options_$(V))
189
+ INTLTOOL__v_MERGE_ = $(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))
190
+ INTLTOOL__v_MERGE_0 = @echo " ITMRG " $@;
191
+ INTROSPECTION_CFLAGS =
192
+ INTROSPECTION_COMPILER =
193
+ INTROSPECTION_GENERATE =
194
+ INTROSPECTION_GIRDIR =
195
+ INTROSPECTION_LIBS =
196
+ INTROSPECTION_MAKEFILE =
197
+ INTROSPECTION_SCANNER =
198
+ INTROSPECTION_TYPELIBDIR =
199
+ LASEM_API_VERSION = 0.6
200
+ LASEM_API_VERSION_U = 0_6
201
+ LASEM_CFLAGS = -D_REENTRANT -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.17/include/libpng16 -I/usr/local/Cellar/pango/1.36.8/include/pango-1.0 -I/usr/local/Cellar/cairo/1.12.16_1/include/cairo -I/usr/local/Cellar/glib/2.44.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.44.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pixman/0.32.6/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.11.1/include -I/usr/local/Cellar/freetype/2.5.3_1/include/freetype2 -I/usr/local/Cellar/freetype/2.5.5/include/freetype2 -I/usr/local/Cellar/libpng/1.6.17/include/libpng16 -I/opt/X11/include -I/usr/include/libxml2
202
+ LASEM_LIBS = -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/pango/1.36.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/cairo/1.12.16_1/lib -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lxml2 -lm
203
+ LASEM_LIBTOOL_VERSION = 5:1:0
204
+ LD = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
205
+ LDFLAGS = -L/usr/local/lib
206
+ LEX = flex
207
+ LEXLIB = -ll
208
+ LEX_OUTPUT_ROOT = lex.yy
209
+ LIBOBJS =
210
+ LIBS =
211
+ LIBTOOL = $(SHELL) $(top_builddir)/libtool
212
+ LIPO = lipo
213
+ LN_S = ln -s
214
+ LTLIBOBJS =
215
+ LT_SYS_LIBRARY_PATH =
216
+ MAINT =
217
+ MAKEINFO = ${SHELL} /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/missing makeinfo
218
+ MANIFEST_TOOL = :
219
+ MKDIR_P = ../../.././install-sh -c -d
220
+ MKINSTALLDIRS = ./mkinstalldirs
221
+ MSGFMT = /usr/local/bin/msgfmt
222
+ MSGFMT_OPTS = -c
223
+ MSGMERGE = /usr/local/bin/msgmerge
224
+ NM = /usr/bin/nm
225
+ NMEDIT = nmedit
226
+ OBJDUMP = false
227
+ OBJEXT = o
228
+ OTOOL = otool
229
+ OTOOL64 = :
230
+ PACKAGE = lasem
231
+ PACKAGE_BUGREPORT = http://bugzilla.gnome.org/
232
+ PACKAGE_NAME = lasem
233
+ PACKAGE_STRING = lasem 0.5.1
234
+ PACKAGE_TARNAME = lasem
235
+ PACKAGE_URL =
236
+ PACKAGE_VERSION = 0.5.1
237
+ PATH_SEPARATOR = :
238
+ PKG_CONFIG = /usr/local/bin/pkg-config
239
+ PKG_CONFIG_LIBDIR =
240
+ PKG_CONFIG_PATH =
241
+ POFILES =
242
+ POSUB = po
243
+ PO_IN_DATADIR_FALSE =
244
+ PO_IN_DATADIR_TRUE =
245
+ RANLIB = ranlib
246
+ SED = /usr/bin/sed
247
+ SET_MAKE =
248
+ SHELL = /bin/sh
249
+ STRIP = strip
250
+ USE_NLS = yes
251
+ VERSION = 0.5.1
252
+ XGETTEXT = /usr/local/bin/xgettext
253
+ YACC = bison -y
254
+ YFLAGS =
255
+ abs_builddir = /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/docs/reference/lasem
256
+ abs_srcdir = /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/docs/reference/lasem
257
+ abs_top_builddir = /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem
258
+ abs_top_srcdir = /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem
259
+ ac_ct_AR = ar
260
+ ac_ct_CC = gcc
261
+ ac_ct_DUMPBIN =
262
+ am__include = include
263
+ am__leading_dot = .
264
+ am__quote =
265
+ am__tar = $${TAR-tar} chof - "$$tardir"
266
+ am__untar = $${TAR-tar} xf -
267
+ bindir = ${exec_prefix}/bin
268
+ build = x86_64-apple-darwin14.3.0
269
+ build_alias =
270
+ build_cpu = x86_64
271
+ build_os = darwin14.3.0
272
+ build_vendor = apple
273
+ builddir = .
274
+ datadir = ${datarootdir}
275
+ datarootdir = ${prefix}/share
276
+ docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
277
+ dvidir = ${docdir}
278
+ exec_prefix = ${prefix}
279
+ host = x86_64-apple-darwin14.3.0
280
+ host_alias =
281
+ host_cpu = x86_64
282
+ host_os = darwin14.3.0
283
+ host_vendor = apple
284
+ htmldir = ${docdir}
285
+ includedir = ${prefix}/include
286
+ infodir = ${datarootdir}/info
287
+ install_sh = ${SHELL} /Users/gjtorikian/Development/mathematical/ext/mathematical/lasem/install-sh
288
+ intltool__v_merge_options_ = $(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))
289
+ intltool__v_merge_options_0 = -q
290
+ libdir = ${exec_prefix}/lib
291
+ libexecdir = ${exec_prefix}/libexec
292
+ localedir = ${datarootdir}/locale
293
+ localstatedir = ${prefix}/var
294
+ mandir = ${datarootdir}/man
295
+ mkdir_p = $(MKDIR_P)
296
+ oldincludedir = /usr/include
297
+ pdfdir = ${docdir}
298
+ prefix = /usr/local
299
+ program_transform_name = s,x,x,
300
+ psdir = ${docdir}
301
+ sbindir = ${exec_prefix}/sbin
302
+ sharedstatedir = ${prefix}/com
303
+ srcdir = .
304
+ sysconfdir = ${prefix}/etc
305
+ target_alias =
306
+ top_build_prefix = ../../../
307
+ top_builddir = ../../..
308
+ top_srcdir = ../../..
309
+ GTESTER = gtester
310
+ GTESTER_REPORT = gtester-report
311
+
312
+ # initialize variables for unconditional += appending
313
+ TEST_PROGS =
314
+
315
+ # We require automake 1.6 at least.
316
+ AUTOMAKE_OPTIONS = 1.6
317
+
318
+ # This is a blank Makefile.am for using gtk-doc.
319
+ # Copy this to your project's API docs directory and modify the variables to
320
+ # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
321
+ # of using the various options.
322
+
323
+ # The name of the module, e.g. 'glib'.
324
+ DOC_MODULE = lasem
325
+
326
+ # Uncomment for versioned docs and specify the version of the module, e.g. '2'.
327
+ DOC_MODULE_VERSION = 0.6
328
+
329
+ # The top-level SGML file. You can change this if you want to.
330
+ DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
331
+
332
+ # Directories containing the source code, relative to $(srcdir).
333
+ # gtk-doc will search all .c and .h files beneath these paths
334
+ # for inline comments documenting functions and macros.
335
+ # e.g. DOC_SOURCE_DIR=../../../gtk ../../../gdk
336
+ DOC_SOURCE_DIR = ../../../src
337
+
338
+ # Extra options to pass to gtkdoc-scangobj. Not normally needed.
339
+ SCANGOBJ_OPTIONS =
340
+
341
+ # Extra options to supply to gtkdoc-scan.
342
+ # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
343
+ SCAN_OPTIONS =
344
+
345
+ # Extra options to supply to gtkdoc-mkdb.
346
+ # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
347
+ MKDB_OPTIONS = --sgml-mode --output-format=xml
348
+
349
+ # Extra options to supply to gtkdoc-mktmpl
350
+ # e.g. MKTMPL_OPTIONS=--only-section-tmpl
351
+ MKTMPL_OPTIONS =
352
+
353
+ # Extra options to supply to gtkdoc-mkhtml
354
+ MKHTML_OPTIONS =
355
+
356
+ # Extra options to supply to gtkdoc-fixref. Not normally needed.
357
+ # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
358
+ FIXXREF_OPTIONS =
359
+
360
+ # Used for dependencies. The docs will be rebuilt if any of these change.
361
+ # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
362
+ # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
363
+ HFILE_GLOB = $(top_srcdir)/src/*.h
364
+ CFILE_GLOB = $(top_srcdir)/src/*.c
365
+
366
+ # Extra header to include when scanning, which are not under DOC_SOURCE_DIR
367
+ # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
368
+ EXTRA_HFILES =
369
+
370
+ # Header files to ignore when scanning. Use base file name, no paths
371
+ # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
372
+ IGNORE_HFILES = \
373
+ lsmdomenumtypes.h \
374
+ lsmmathmlenumtypes.h \
375
+ lsmsvgenumtypes.h \
376
+ lsmconfig.h \
377
+ lsm.h \
378
+ lsmcairo.h \
379
+ lsmstr.h \
380
+ lsmdebug.h \
381
+ lsmtraits.h \
382
+ lsmproperties.h \
383
+ lsmattributes.h \
384
+ lsmitex.h \
385
+ lsmmathml.h \
386
+ lsmmathmltypes.h \
387
+ lsmmathmlenums.h \
388
+ lsmmathmltraits.h \
389
+ lsmmathmlattributes.h \
390
+ lsmmathmloperatordictionary.h \
391
+ lsmmathmldocument.h \
392
+ lsmmathmlelement.h \
393
+ lsmmathmlphantomelement.h \
394
+ lsmmathmlmathelement.h \
395
+ lsmmathmltableelement.h \
396
+ lsmmathmltablerowelement.h \
397
+ lsmmathmlencloseelement.h \
398
+ lsmmathmltablecellelement.h \
399
+ lsmmathmlspaceelement.h \
400
+ lsmmathmlradicalelement.h \
401
+ lsmmathmlscriptelement.h \
402
+ lsmmathmlfractionelement.h \
403
+ lsmmathmlunderoverelement.h \
404
+ lsmmathmlpresentationtoken.h \
405
+ lsmmathmloperatorelement.h \
406
+ lsmmathmlstringelement.h \
407
+ lsmmathmlpresentationcontainer.h \
408
+ lsmmathmlstyleelement.h \
409
+ lsmmathmlrowelement.h \
410
+ lsmmathmlfencedelement.h \
411
+ lsmmathmlpaddedelement.h \
412
+ lsmmathmlerrorelement.h \
413
+ lsmmathmlactionelement.h \
414
+ lsmmathmlstyle.h \
415
+ lsmmathmlview.h \
416
+ lsmmathmlglyphtableams.h \
417
+ lsmmathmlalignmarkelement.h \
418
+ lsmmathmlaligngroupelement.h \
419
+ lsmmathmlsemanticselement.h \
420
+ lsmmathmlitexelement.h \
421
+ lsmmathmlutils.h \
422
+ lsmmathmllayoututils.h \
423
+ lsmsvg.h \
424
+ lsmsvgtypes.h \
425
+ lsmsvgenums.h \
426
+ lsmsvgtraits.h \
427
+ lsmsvgattributes.h \
428
+ lsmsvgstyle.h \
429
+ lsmsvgcolors.h \
430
+ lsmsvglength.h \
431
+ lsmsvgview.h \
432
+ lsmsvgmatrix.h \
433
+ lsmsvgdocument.h \
434
+ lsmsvgelement.h \
435
+ lsmsvgclippathelement.h \
436
+ lsmsvgsvgelement.h \
437
+ lsmsvgtransformable.h \
438
+ lsmsvgaelement.h \
439
+ lsmsvggelement.h \
440
+ lsmsvgdefselement.h \
441
+ lsmsvguseelement.h \
442
+ lsmsvgimageelement.h \
443
+ lsmsvgsymbolelement.h \
444
+ lsmsvgmarkerelement.h \
445
+ lsmsvgrectelement.h \
446
+ lsmsvgcircleelement.h \
447
+ lsmsvgellipseelement.h \
448
+ lsmsvglineelement.h \
449
+ lsmsvgpathelement.h \
450
+ lsmsvgpolylineelement.h \
451
+ lsmsvgpolygonelement.h \
452
+ lsmsvgtextelement.h \
453
+ lsmsvgtspanelement.h \
454
+ lsmsvggradientelement.h \
455
+ lsmsvglineargradientelement.h \
456
+ lsmsvgradialgradientelement.h \
457
+ lsmsvgstopelement.h \
458
+ lsmsvgswitchelement.h \
459
+ lsmsvgpatternelement.h \
460
+ lsmsvgmaskelement.h \
461
+ lsmsvgfilterelement.h \
462
+ lsmsvgfilterprimitive.h \
463
+ lsmsvgfilterblend.h \
464
+ lsmsvgfiltercomposite.h \
465
+ lsmsvgfilterflood.h \
466
+ lsmsvgfiltergaussianblur.h \
467
+ lsmsvgfilteroffset.h \
468
+ lsmsvgfiltermerge.h \
469
+ lsmsvgfiltermergenode.h \
470
+ lsmsvgfilterspecularlighting.h \
471
+ lsmsvgfiltertile.h \
472
+ lsmsvgfiltersurface.h
473
+
474
+
475
+ # Images to copy into HTML directory.
476
+ # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
477
+ HTML_IMAGES =
478
+
479
+ # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
480
+ # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
481
+ content_files = \
482
+ lasem-overview.xml
483
+
484
+
485
+ # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
486
+ # These files must be listed here *and* in content_files
487
+ # e.g. expand_content_files=running.sgml
488
+ expand_content_files = \
489
+ lasem-overview.xml
490
+
491
+
492
+ # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
493
+ # Only needed if you are using gtkdoc-scangobj to dynamically query widget
494
+ # signals and properties.
495
+ # e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
496
+ # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
497
+ GTKDOC_CFLAGS = -I$(top_srcdir)/src $(LASEM_CFLAGS)
498
+ GTKDOC_LIBS = $(top_builddir)/src/liblasem-0.6.la $(LASEM_LIBS)
499
+ #GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
500
+ GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
501
+ #GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
502
+ GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
503
+ #GTKDOC_RUN =
504
+ GTKDOC_RUN = $(LIBTOOL) --mode=execute
505
+
506
+ # We set GPATH here; this gives us semantics for GNU make
507
+ # which are more like other make's VPATH, when it comes to
508
+ # whether a source that is a target of one rule is then
509
+ # searched for in VPATH/GPATH.
510
+ #
511
+ GPATH = $(srcdir)
512
+ TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
513
+ SETUP_FILES = \
514
+ $(content_files) \
515
+ $(expand_content_files) \
516
+ $(DOC_MAIN_SGML_FILE) \
517
+ $(DOC_MODULE)-sections.txt \
518
+ $(DOC_MODULE)-overrides.txt
519
+
520
+
521
+ # This includes the standard gtk-doc make rules, copied by gtkdocize.
522
+
523
+ # Other files to distribute
524
+ # e.g. EXTRA_DIST += version.xml.in
525
+ EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES)
526
+ DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \
527
+ html-build.stamp pdf-build.stamp \
528
+ sgml.stamp html.stamp pdf.stamp
529
+
530
+ SCANOBJ_FILES = \
531
+ $(DOC_MODULE).args \
532
+ $(DOC_MODULE).hierarchy \
533
+ $(DOC_MODULE).interfaces \
534
+ $(DOC_MODULE).prerequisites \
535
+ $(DOC_MODULE).signals
536
+
537
+ REPORT_FILES = \
538
+ $(DOC_MODULE)-undocumented.txt \
539
+ $(DOC_MODULE)-undeclared.txt \
540
+ $(DOC_MODULE)-unused.txt
541
+
542
+ CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) gtkdoc-check.test
543
+ #HTML_BUILD_STAMP =
544
+ HTML_BUILD_STAMP = html-build.stamp
545
+ PDF_BUILD_STAMP =
546
+ #PDF_BUILD_STAMP = pdf-build.stamp
547
+
548
+ #### setup ####
549
+ GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_$(V))
550
+ GTK_DOC_V_SETUP_ = $(GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY))
551
+ GTK_DOC_V_SETUP_0 = @echo " DOC Preparing build";
552
+
553
+ #### scan ####
554
+ GTK_DOC_V_SCAN = $(GTK_DOC_V_SCAN_$(V))
555
+ GTK_DOC_V_SCAN_ = $(GTK_DOC_V_SCAN_$(AM_DEFAULT_VERBOSITY))
556
+ GTK_DOC_V_SCAN_0 = @echo " DOC Scanning header files";
557
+ GTK_DOC_V_INTROSPECT = $(GTK_DOC_V_INTROSPECT_$(V))
558
+ GTK_DOC_V_INTROSPECT_ = $(GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY))
559
+ GTK_DOC_V_INTROSPECT_0 = @echo " DOC Introspecting gobjects";
560
+
561
+ #### xml ####
562
+ GTK_DOC_V_XML = $(GTK_DOC_V_XML_$(V))
563
+ GTK_DOC_V_XML_ = $(GTK_DOC_V_XML_$(AM_DEFAULT_VERBOSITY))
564
+ GTK_DOC_V_XML_0 = @echo " DOC Building XML";
565
+
566
+ #### html ####
567
+ GTK_DOC_V_HTML = $(GTK_DOC_V_HTML_$(V))
568
+ GTK_DOC_V_HTML_ = $(GTK_DOC_V_HTML_$(AM_DEFAULT_VERBOSITY))
569
+ GTK_DOC_V_HTML_0 = @echo " DOC Building HTML";
570
+ GTK_DOC_V_XREF = $(GTK_DOC_V_XREF_$(V))
571
+ GTK_DOC_V_XREF_ = $(GTK_DOC_V_XREF_$(AM_DEFAULT_VERBOSITY))
572
+ GTK_DOC_V_XREF_0 = @echo " DOC Fixing cross-references";
573
+
574
+ #### pdf ####
575
+ GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_$(V))
576
+ GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_$(AM_DEFAULT_VERBOSITY))
577
+ GTK_DOC_V_PDF_0 = @echo " DOC Building PDF";
578
+ all: all-am
579
+
580
+ .SUFFIXES:
581
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(top_srcdir)/gtk-doc.make $(am__configure_deps)
582
+ @for dep in $?; do \
583
+ case '$(am__configure_deps)' in \
584
+ *$$dep*) \
585
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
586
+ && { if test -f $@; then exit 0; else break; fi; }; \
587
+ exit 1;; \
588
+ esac; \
589
+ done; \
590
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/reference/lasem/Makefile'; \
591
+ $(am__cd) $(top_srcdir) && \
592
+ $(AUTOMAKE) --gnu docs/reference/lasem/Makefile
593
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
594
+ @case '$?' in \
595
+ *config.status*) \
596
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
597
+ *) \
598
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
599
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
600
+ esac;
601
+ $(top_srcdir)/Makefile.decl $(top_srcdir)/gtk-doc.make $(am__empty):
602
+
603
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
604
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
605
+
606
+ $(top_srcdir)/configure: $(am__configure_deps)
607
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
608
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
609
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
610
+ $(am__aclocal_m4_deps):
611
+
612
+ mostlyclean-libtool:
613
+ -rm -f *.lo
614
+
615
+ clean-libtool:
616
+ -rm -rf .libs _libs
617
+ tags TAGS:
618
+
619
+ ctags CTAGS:
620
+
621
+ cscope cscopelist:
622
+
623
+
624
+ distdir: $(DISTFILES)
625
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
626
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
627
+ list='$(DISTFILES)'; \
628
+ dist_files=`for file in $$list; do echo $$file; done | \
629
+ sed -e "s|^$$srcdirstrip/||;t" \
630
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
631
+ case $$dist_files in \
632
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
633
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
634
+ sort -u` ;; \
635
+ esac; \
636
+ for file in $$dist_files; do \
637
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
638
+ if test -d $$d/$$file; then \
639
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
640
+ if test -d "$(distdir)/$$file"; then \
641
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
642
+ fi; \
643
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
644
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
645
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
646
+ fi; \
647
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
648
+ else \
649
+ test -f "$(distdir)/$$file" \
650
+ || cp -p $$d/$$file "$(distdir)/$$file" \
651
+ || exit 1; \
652
+ fi; \
653
+ done
654
+ $(MAKE) $(AM_MAKEFLAGS) \
655
+ top_distdir="$(top_distdir)" distdir="$(distdir)" \
656
+ dist-hook
657
+ check-am: all-am
658
+ $(MAKE) $(AM_MAKEFLAGS) check-local
659
+ check: check-am
660
+ all-local:
661
+ all-am: Makefile all-local
662
+ installdirs:
663
+ install: install-am
664
+ install-exec: install-exec-am
665
+ install-data: install-data-am
666
+ uninstall: uninstall-am
667
+
668
+ install-am: all-am
669
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
670
+
671
+ installcheck: installcheck-am
672
+ install-strip:
673
+ if test -z '$(STRIP)'; then \
674
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
675
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
676
+ install; \
677
+ else \
678
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
679
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
680
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
681
+ fi
682
+ mostlyclean-generic:
683
+
684
+ clean-generic:
685
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
686
+
687
+ distclean-generic:
688
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
689
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
690
+
691
+ maintainer-clean-generic:
692
+ @echo "This command is intended for maintainers to use"
693
+ @echo "it deletes files that may require special tools to rebuild."
694
+ clean: clean-am
695
+
696
+ clean-am: clean-generic clean-libtool clean-local mostlyclean-am
697
+
698
+ distclean: distclean-am
699
+ -rm -f Makefile
700
+ distclean-am: clean-am distclean-generic distclean-local
701
+
702
+ dvi: dvi-am
703
+
704
+ dvi-am:
705
+
706
+ html: html-am
707
+
708
+ html-am:
709
+
710
+ info: info-am
711
+
712
+ info-am:
713
+
714
+ install-data-am: install-data-local
715
+
716
+ install-dvi: install-dvi-am
717
+
718
+ install-dvi-am:
719
+
720
+ install-exec-am:
721
+
722
+ install-html: install-html-am
723
+
724
+ install-html-am:
725
+
726
+ install-info: install-info-am
727
+
728
+ install-info-am:
729
+
730
+ install-man:
731
+
732
+ install-pdf: install-pdf-am
733
+
734
+ install-pdf-am:
735
+
736
+ install-ps: install-ps-am
737
+
738
+ install-ps-am:
739
+
740
+ installcheck-am:
741
+
742
+ maintainer-clean: maintainer-clean-am
743
+ -rm -f Makefile
744
+ maintainer-clean-am: distclean-am maintainer-clean-generic \
745
+ maintainer-clean-local
746
+
747
+ mostlyclean: mostlyclean-am
748
+
749
+ mostlyclean-am: mostlyclean-generic mostlyclean-libtool
750
+
751
+ pdf: pdf-am
752
+
753
+ pdf-am:
754
+
755
+ ps: ps-am
756
+
757
+ ps-am:
758
+
759
+ uninstall-am: uninstall-local
760
+
761
+ .MAKE: check-am install-am install-strip
762
+
763
+ .PHONY: all all-am all-local check check-am check-local clean \
764
+ clean-generic clean-libtool clean-local cscopelist-am ctags-am \
765
+ dist-hook distclean distclean-generic distclean-libtool \
766
+ distclean-local distdir dvi dvi-am html html-am info info-am \
767
+ install install-am install-data install-data-am \
768
+ install-data-local install-dvi install-dvi-am install-exec \
769
+ install-exec-am install-html install-html-am install-info \
770
+ install-info-am install-man install-pdf install-pdf-am \
771
+ install-ps install-ps-am install-strip installcheck \
772
+ installcheck-am installdirs maintainer-clean \
773
+ maintainer-clean-generic maintainer-clean-local mostlyclean \
774
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
775
+ tags-am uninstall uninstall-am uninstall-local
776
+
777
+ .PRECIOUS: Makefile
778
+
779
+
780
+ ### testing rules
781
+
782
+ # test: run all tests in cwd and subdirs
783
+ test: ${TEST_PROGS}
784
+ @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS}
785
+ @ for subdir in $(SUBDIRS) . ; do \
786
+ test "$$subdir" = "." -o "$$subdir" = "po" || \
787
+ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
788
+ done
789
+
790
+ # test-report: run tests in subdirs and generate report
791
+ # perf-report: run tests in subdirs with -m perf and generate report
792
+ # full-report: like test-report: with -m perf and -m slow
793
+ test-report perf-report full-report: ${TEST_PROGS}
794
+ @test -z "${TEST_PROGS}" || { \
795
+ case $@ in \
796
+ test-report) test_options="-k";; \
797
+ perf-report) test_options="-k -m=perf";; \
798
+ full-report) test_options="-k -m=perf -m=slow";; \
799
+ esac ; \
800
+ if test -z "$$GTESTER_LOGDIR" ; then \
801
+ ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \
802
+ elif test -n "${TEST_PROGS}" ; then \
803
+ ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \
804
+ fi ; \
805
+ }
806
+ @ ignore_logdir=true ; \
807
+ if test -z "$$GTESTER_LOGDIR" ; then \
808
+ GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \
809
+ ignore_logdir=false ; \
810
+ fi ; \
811
+ for subdir in $(SUBDIRS) . ; do \
812
+ test "$$subdir" = "." -o "$$subdir" = "po" || \
813
+ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
814
+ done ; \
815
+ $$ignore_logdir || { \
816
+ echo '<?xml version="1.0"?>' > $@.xml ; \
817
+ echo '<report-collection>' >> $@.xml ; \
818
+ for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \
819
+ sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \
820
+ done ; \
821
+ echo >> $@.xml ; \
822
+ echo '</report-collection>' >> $@.xml ; \
823
+ rm -rf "$$GTESTER_LOGDIR"/ ; \
824
+ ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
825
+ }
826
+ .PHONY: test test-report perf-report full-report
827
+ # run make test as part of make check
828
+ check-local: test
829
+
830
+ gtkdoc-check.test: Makefile
831
+ $(AM_V_GEN)echo "#!/bin/sh -e" > $@; \
832
+ echo "$(GTKDOC_CHECK_PATH) || exit 1" >> $@; \
833
+ chmod +x $@
834
+
835
+ all-gtk-doc: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
836
+ .PHONY: all-gtk-doc
837
+
838
+ #all-local: all-gtk-doc
839
+
840
+ docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
841
+
842
+ $(REPORT_FILES): sgml-build.stamp
843
+
844
+ setup-build.stamp:
845
+ -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
846
+ files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \
847
+ if test "x$$files" != "x" ; then \
848
+ for file in $$files ; do \
849
+ destdir=`dirname $(abs_builddir)/$$file`; \
850
+ test -d "$$destdir" || mkdir -p "$$destdir"; \
851
+ test -f $(abs_srcdir)/$$file && \
852
+ cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \
853
+ done; \
854
+ fi; \
855
+ fi
856
+ $(AM_V_at)touch setup-build.stamp
857
+
858
+ scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB)
859
+ $(GTK_DOC_V_SCAN)_source_dir='' ; \
860
+ for i in $(DOC_SOURCE_DIR) ; do \
861
+ _source_dir="$${_source_dir} --source-dir=$$i" ; \
862
+ done ; \
863
+ gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
864
+ $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
865
+ scanobj_options=""; \
866
+ gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
867
+ if test "$$?" = "0"; then \
868
+ if test "x$(V)" = "x1"; then \
869
+ scanobj_options="--verbose"; \
870
+ fi; \
871
+ fi; \
872
+ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
873
+ gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
874
+ else \
875
+ for i in $(SCANOBJ_FILES) ; do \
876
+ test -f $$i || touch $$i ; \
877
+ done \
878
+ fi
879
+ $(AM_V_at)touch scan-build.stamp
880
+
881
+ $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
882
+ @true
883
+
884
+ sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
885
+ $(GTK_DOC_V_XML)_source_dir='' ; \
886
+ for i in $(DOC_SOURCE_DIR) ; do \
887
+ _source_dir="$${_source_dir} --source-dir=$$i" ; \
888
+ done ; \
889
+ gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS)
890
+ $(AM_V_at)touch sgml-build.stamp
891
+
892
+ sgml.stamp: sgml-build.stamp
893
+ @true
894
+
895
+ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files)
896
+ $(GTK_DOC_V_HTML)rm -rf html && mkdir html && \
897
+ mkhtml_options=""; \
898
+ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \
899
+ if test "$$?" = "0"; then \
900
+ if test "x$(V)" = "x1"; then \
901
+ mkhtml_options="$$mkhtml_options --verbose"; \
902
+ fi; \
903
+ fi; \
904
+ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
905
+ if test "$$?" = "0"; then \
906
+ mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
907
+ fi; \
908
+ cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
909
+ -@test "x$(HTML_IMAGES)" = "x" || \
910
+ for file in $(HTML_IMAGES) ; do \
911
+ if test -f $(abs_srcdir)/$$file ; then \
912
+ cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
913
+ fi; \
914
+ if test -f $(abs_builddir)/$$file ; then \
915
+ cp $(abs_builddir)/$$file $(abs_builddir)/html; \
916
+ fi; \
917
+ done;
918
+ $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
919
+ $(AM_V_at)touch html-build.stamp
920
+
921
+ pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files)
922
+ $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \
923
+ mkpdf_options=""; \
924
+ gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
925
+ if test "$$?" = "0"; then \
926
+ if test "x$(V)" = "x1"; then \
927
+ mkpdf_options="$$mkpdf_options --verbose"; \
928
+ fi; \
929
+ fi; \
930
+ if test "x$(HTML_IMAGES)" != "x"; then \
931
+ for img in $(HTML_IMAGES); do \
932
+ part=`dirname $$img`; \
933
+ echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
934
+ if test $$? != 0; then \
935
+ mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
936
+ fi; \
937
+ done; \
938
+ fi; \
939
+ gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
940
+ $(AM_V_at)touch pdf-build.stamp
941
+
942
+ ##############
943
+
944
+ clean-local:
945
+ @rm -f *~ *.bak
946
+ @rm -rf .libs
947
+ @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
948
+ rm -f $(DOC_MODULE).types; \
949
+ fi
950
+ @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-sections" ; then \
951
+ rm -f $(DOC_MODULE)-sections.txt; \
952
+ fi
953
+
954
+ distclean-local:
955
+ @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
956
+ $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
957
+ @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
958
+ rm -f $(SETUP_FILES) $(DOC_MODULE).types; \
959
+ fi
960
+
961
+ maintainer-clean-local:
962
+ @rm -rf xml html
963
+
964
+ install-data-local:
965
+ @installfiles=`echo $(builddir)/html/*`; \
966
+ if test "$$installfiles" = '$(builddir)/html/*'; \
967
+ then echo 1>&2 'Nothing to install' ; \
968
+ else \
969
+ if test -n "$(DOC_MODULE_VERSION)"; then \
970
+ installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
971
+ else \
972
+ installdir="$(DESTDIR)$(TARGET_DIR)"; \
973
+ fi; \
974
+ $(mkinstalldirs) $${installdir} ; \
975
+ for i in $$installfiles; do \
976
+ echo ' $(INSTALL_DATA) '$$i ; \
977
+ $(INSTALL_DATA) $$i $${installdir}; \
978
+ done; \
979
+ if test -n "$(DOC_MODULE_VERSION)"; then \
980
+ mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
981
+ $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
982
+ fi; \
983
+ $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
984
+ fi
985
+
986
+ uninstall-local:
987
+ @if test -n "$(DOC_MODULE_VERSION)"; then \
988
+ installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
989
+ else \
990
+ installdir="$(DESTDIR)$(TARGET_DIR)"; \
991
+ fi; \
992
+ rm -rf $${installdir}
993
+
994
+ #
995
+ # Require gtk-doc when making dist
996
+ #
997
+ dist-check-gtkdoc: docs
998
+ #dist-check-gtkdoc:
999
+ # @echo "*** gtk-doc is needed to run 'make dist'. ***"
1000
+ # @echo "*** gtk-doc was not found when 'configure' ran. ***"
1001
+ # @echo "*** please install gtk-doc and rerun 'configure'. ***"
1002
+ # @false
1003
+
1004
+ dist-hook: dist-check-gtkdoc all-gtk-doc dist-hook-local
1005
+ @mkdir $(distdir)/html
1006
+ @cp ./html/* $(distdir)/html
1007
+ @-cp ./$(DOC_MODULE).pdf $(distdir)/
1008
+ @-cp ./$(DOC_MODULE).types $(distdir)/
1009
+ @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
1010
+ @cd $(distdir) && rm -f $(DISTCLEANFILES)
1011
+ @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
1012
+
1013
+ .PHONY : dist-hook-local docs
1014
+
1015
+ # Files not to distribute
1016
+ # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
1017
+ # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
1018
+
1019
+ #TESTS = $(GTKDOC_CHECK)
1020
+
1021
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
1022
+ # Otherwise a system limit (for SysV at least) may be exceeded.
1023
+ .NOEXPORT: