Makefile.am 2.65 KB
Newer Older
1
SUBDIRS = src include
2
ACLOCAL_AMFLAGS = -I m4
3

4
pcfiles = libixion-@IXION_API_VERSION@.pc
5 6 7 8

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

Kohei Yoshida's avatar
Kohei Yoshida committed
9 10 11 12 13 14
bin_data = \
	bin/ixion-test-mem.sh \
	bin/ixion-test-gdb.sh \
	bin/ixion-test.sh \
	bin/ixion-parser-mem.sh \
	bin/ixion-parser.sh \
15 16
	bin/ixion-parser-gdb.sh \
	bin/run-python-test-osx.sh
Kohei Yoshida's avatar
Kohei Yoshida committed
17 18 19 20 21 22 23 24

test_data = \
	test/01-simple-arithmetic.txt \
	test/02-circular-01.txt \
	test/02-circular-02.txt \
	test/03-expression.txt \
	test/04-function-logical.txt \
	test/04-function-single.txt \
25
	test/04-function-average.txt \
Kohei Yoshida's avatar
Kohei Yoshida committed
26 27 28 29 30 31 32 33 34 35 36 37 38
	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/07-fraction-numbers.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 \
39
	test/python/document.py \
Kohei Yoshida's avatar
Kohei Yoshida committed
40
	test/python/module.py \
Kohei Yoshida's avatar
Kohei Yoshida committed
41
	test/thread/function-parallel.txt \
42 43 44 45 46 47 48 49 50 51 52
	test/thread/function-wait-simple.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
Kohei Yoshida's avatar
Kohei Yoshida committed
53

54 55
doc_data = \
	doc/conf.py \
56 57
	doc/doxygen.conf \
	doc/overview/index.rst \
58
	doc/index.rst \
59 60 61 62 63 64 65 66 67 68 69
	doc/python/overview.rst \
	doc/python/index.rst \
	doc/python/sheet.rst \
	doc/python/document.rst \
	doc/cpp/interface/index.rst \
	doc/cpp/model_context/index.rst \
	doc/cpp/formula/index.rst \
	doc/cpp/index.rst \
	doc/cpp/formula_cell/index.rst \
	doc/cpp/formula_name_resolver/index.rst \
	doc/cpp/types/index.rst
Kohei Yoshida's avatar
Kohei Yoshida committed
70

71
EXTRA_DIST = \
David Tardon's avatar
David Tardon committed
72
	LICENSE \
Kohei Yoshida's avatar
Kohei Yoshida committed
73 74 75
	libixion.pc.in \
	autogen.sh \
	$(bin_data) \
76 77
	$(test_data) \
	$(doc_data)
78

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

81 82 83
distclean-local:
	rm -rf *.pc

84 85 86 87 88 89 90 91 92 93 94 95 96 97
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

98 99 100 101 102 103 104 105 106
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
107