summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: ff0a0e2f2fa4ecb70922df4838cc8f5dff4aea3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
SUBDIRS = src include doc_example
ACLOCAL_AMFLAGS = -I m4

pcfiles = libixion-@IXION_API_VERSION@.pc

pkgconfig_DATA = $(pcfiles)
pkgconfigdir = $(libdir)/pkgconfig

bin_data = \
	bin/gen-gfm-release-table.sh \
	bin/gen-spirv-shader-arrays.py \
	bin/run-python-test-osx.sh \
	bin/run-python.sh

test_data = \
	test/00-command-exit.txt \
	test/01-concat-operator.txt \
	test/01-exponent-operator.txt \
	test/01-inline-array-div.txt \
	test/01-inline-array-exp.txt \
	test/01-inline-array-mul.txt \
	test/01-inline-array-op-lhs.txt \
	test/01-inline-array-op-rhs.txt \
	test/01-inline-array-string-concat.txt \
	test/01-inline-array.txt \
	test/01-ranged-definitions-dups.txt \
	test/01-simple-arithmetic.txt \
	test/02-circular-01.txt \
	test/02-circular-02.txt \
	test/03-expression.txt \
	test/03-leading-signs.txt \
	test/04-function-abs.txt \
	test/04-function-and-boolean.txt \
	test/04-function-and.txt \
	test/04-function-average.txt \
	test/04-function-column-row.txt \
	test/04-function-columns-rows.txt \
	test/04-function-concatenate.txt \
	test/04-function-count-formula.txt \
	test/04-function-count.txt \
	test/04-function-counta-edit.txt \
	test/04-function-counta-static-args.txt \
	test/04-function-countblank.txt \
	test/04-function-exact.txt \
	test/04-function-find.txt \
	test/04-function-invalid-name.txt \
	test/04-function-isblank.txt \
	test/04-function-iserror.txt \
	test/04-function-iseven.txt \
	test/04-function-isformula.txt \
	test/04-function-islogical.txt \
	test/04-function-isna.txt \
	test/04-function-isnumber.txt \
	test/04-function-isref.txt \
	test/04-function-istext.txt \
	test/04-function-left-utf8.txt \
	test/04-function-left.txt \
	test/04-function-len.txt \
	test/04-function-logical.txt \
	test/04-function-median.txt \
	test/04-function-mid-utf8.txt \
	test/04-function-mid.txt \
	test/04-function-mmult-inline.txt \
	test/04-function-mmult.txt \
	test/04-function-mode.txt \
	test/04-function-n.txt \
	test/04-function-nested.txt \
	test/04-function-or.txt \
	test/04-function-pi-int.txt \
	test/04-function-replace.txt \
	test/04-function-rept.txt \
	test/04-function-right-utf8.txt \
	test/04-function-right.txt \
	test/04-function-sheet.txt \
	test/04-function-sheets.txt \
	test/04-function-single.txt \
	test/04-function-substitute.txt \
	test/04-function-t.txt \
	test/04-function-textjoin.txt \
	test/04-function-trim.txt \
	test/04-function-true-false.txt \
	test/04-function-type.txt \
	test/05-range-reference.txt \
	test/06-range-reference-basic-01.txt \
	test/06-range-reference-basic-02.txt \
	test/06-range-reference-circular-01.txt \
	test/06-range-reference-unordered.txt \
	test/06-range-reference-whole-column.txt \
	test/06-range-reference-whole-row.txt \
	test/07-fraction-numbers.txt \
	test/08-boolean-cells.txt \
	test/08-numeric-cells.txt \
	test/09-string-cells.txt \
	test/10-shared-formulas-01.txt \
	test/11-reference-to-numeric-cell-01.txt \
	test/12-inline-string-01.txt \
	test/13-relational-operators-01.txt \
	test/13-relational-operators-02.txt \
	test/13-relational-operators-03.txt \
	test/20-table-reference-01.txt \
	test/21-named-exp-workbook-01.txt \
	test/21-named-exp-worksheet-01.txt \
	test/22-formulas-with-cached-results.txt \
	test/22-grouped-formulas-with-cached-results.txt \
	test/parser-test-func.sh \
	test/parser-test-t0.sh \
	test/parser-test-t1.sh \
	test/parser-test-t2.sh \
	test/parser-test-t3.sh \
	test/parser-test-t4.sh \
	test/parser-test-t5.sh \
	test/parser-test-t6.sh \
	test/parser-test-t7.sh \
	test/parser-test-t8.sh \
	test/python/document.py \
	test/python/module.py \
	test/thread/function-parallel.txt \
	test/thread/function-wait-simple.txt

doc_data = \
	doc/conf.py \
	doc/cpp/data_store/cell_access.rst \
	doc/cpp/data_store/dirty_cell_tracker.rst \
	doc/cpp/data_store/document.rst \
	doc/cpp/data_store/index.rst \
	doc/cpp/data_store/model_context.rst \
	doc/cpp/data_store/types.rst \
	doc/cpp/formula/formula_cell.rst \
	doc/cpp/formula/formula_engine.rst \
	doc/cpp/formula/formula_name_resolver.rst \
	doc/cpp/formula/formula_tokens.rst \
	doc/cpp/formula/index.rst \
	doc/cpp/formula/types.rst \
	doc/cpp/index.rst \
	doc/cpp/interface/index.rst \
	doc/cpp/quickstart/index.rst \
	doc/cpp/quickstart/using_document.rst \
	doc/cpp/quickstart/using_model_context.rst \
	doc/doxygen.conf \
	doc/environment.yml \
	doc/index.rst \
	doc/overview/index.rst \
	doc/python/document.rst \
	doc/python/index.rst \
	doc/python/quickstart.rst \
	doc/python/sheet.rst \
	doc/requirements.txt

EXTRA_DIST = \
	LICENSE \
	libixion.pc.in \
	autogen.sh \
	$(bin_data) \
	$(test_data) \
	$(doc_data)

.PHONY: distclean-local dist-hook doc-doxygen doc-sphinx doc

distclean-local:
	rm -rf *.pc

dist-hook:
	@if test -d "$(srcdir)/.git"; \
	then \
		echo Creating ChangeLog && \
		( cd "$(top_srcdir)" && \
		  echo '# Generated by Makefile. Do not edit.'; echo; \
		  $(top_srcdir)/missing --run git log --pretty=medium ) > ChangeLog.tmp \
		&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
		|| ( rm -f ChangeLog.tmp ; \
		     echo Failed to generate ChangeLog >&2 ); \
	else \
		echo A git clone is required to generate a ChangeLog >&2; \
	fi

doc-doxygen:
	@echo "Building documentation by doxygen..."
	@cd doc && doxygen doxygen.conf

doc-sphinx:
	@echo "Building documentation by sphinx..."
	@sphinx-build -b html ./doc/ ./doc/_build

doc: doc-doxygen doc-sphinx