1 | EXTRA_DIST = \
|
---|
2 | .bzrignore \
|
---|
3 | Apache-2.0 \
|
---|
4 | BSD \
|
---|
5 | INSTALL \
|
---|
6 | Makefile.am \
|
---|
7 | NEWS \
|
---|
8 | README \
|
---|
9 | c++/README \
|
---|
10 | c/README \
|
---|
11 | c/check-subunit-0.9.3.patch \
|
---|
12 | c/check-subunit-0.9.5.patch \
|
---|
13 | c/check-subunit-0.9.6.patch \
|
---|
14 | perl/Makefile.PL.in \
|
---|
15 | perl/lib/Subunit.pm \
|
---|
16 | perl/lib/Subunit/Diff.pm \
|
---|
17 | perl/subunit-diff \
|
---|
18 | python/iso8601/LICENSE \
|
---|
19 | python/iso8601/README \
|
---|
20 | python/iso8601/README.subunit \
|
---|
21 | python/iso8601/setup.py \
|
---|
22 | python/iso8601/test_iso8601.py \
|
---|
23 | python/subunit/tests/TestUtil.py \
|
---|
24 | python/subunit/tests/__init__.py \
|
---|
25 | python/subunit/tests/sample-script.py \
|
---|
26 | python/subunit/tests/sample-two-script.py \
|
---|
27 | python/subunit/tests/test_chunked.py \
|
---|
28 | python/subunit/tests/test_details.py \
|
---|
29 | python/subunit/tests/test_progress_model.py \
|
---|
30 | python/subunit/tests/test_subunit_filter.py \
|
---|
31 | python/subunit/tests/test_subunit_stats.py \
|
---|
32 | python/subunit/tests/test_subunit_tags.py \
|
---|
33 | python/subunit/tests/test_tap2subunit.py \
|
---|
34 | python/subunit/tests/test_test_protocol.py \
|
---|
35 | python/subunit/tests/test_test_results.py \
|
---|
36 | runtests.py \
|
---|
37 | shell/README \
|
---|
38 | shell/share/subunit.sh \
|
---|
39 | shell/subunit-ui.patch \
|
---|
40 | shell/tests/test_function_output.sh \
|
---|
41 | shell/tests/test_source_library.sh
|
---|
42 |
|
---|
43 | ACLOCAL_AMFLAGS = -I m4
|
---|
44 |
|
---|
45 | include_subunitdir = $(includedir)/subunit
|
---|
46 |
|
---|
47 | dist_bin_SCRIPTS = \
|
---|
48 | filters/subunit-filter \
|
---|
49 | filters/subunit-ls \
|
---|
50 | filters/subunit-stats \
|
---|
51 | filters/subunit-tags \
|
---|
52 | filters/subunit2gtk \
|
---|
53 | filters/subunit2junitxml \
|
---|
54 | filters/subunit2pyunit \
|
---|
55 | filters/tap2subunit
|
---|
56 |
|
---|
57 | TESTS_ENVIRONMENT = SHELL_SHARE='$(top_srcdir)/shell/share/' PYTHONPATH='$(abs_top_srcdir)/python':${PYTHONPATH}
|
---|
58 | TESTS = runtests.py $(check_PROGRAMS)
|
---|
59 |
|
---|
60 | ## install libsubunit.pc
|
---|
61 | pcdatadir = $(libdir)/pkgconfig
|
---|
62 | pcdata_DATA = \
|
---|
63 | libsubunit.pc \
|
---|
64 | libcppunit_subunit.pc
|
---|
65 |
|
---|
66 | pkgpython_PYTHON = \
|
---|
67 | python/subunit/__init__.py \
|
---|
68 | python/subunit/chunked.py \
|
---|
69 | python/subunit/details.py \
|
---|
70 | python/subunit/iso8601.py \
|
---|
71 | python/subunit/progress_model.py \
|
---|
72 | python/subunit/run.py \
|
---|
73 | python/subunit/test_results.py
|
---|
74 |
|
---|
75 | lib_LTLIBRARIES = libsubunit.la
|
---|
76 | lib_LTLIBRARIES += libcppunit_subunit.la
|
---|
77 |
|
---|
78 | include_subunit_HEADERS = \
|
---|
79 | c/include/subunit/child.h \
|
---|
80 | c++/SubunitTestProgressListener.h
|
---|
81 |
|
---|
82 | check_PROGRAMS = \
|
---|
83 | c/tests/test_child
|
---|
84 |
|
---|
85 | check_SCRIPTS = \
|
---|
86 | runtests.py
|
---|
87 |
|
---|
88 | libsubunit_la_SOURCES = \
|
---|
89 | c/lib/child.c \
|
---|
90 | c/include/subunit/child.h
|
---|
91 |
|
---|
92 | libcppunit_subunit_la_SOURCES = \
|
---|
93 | c++/SubunitTestProgressListener.cpp \
|
---|
94 | c++/SubunitTestProgressListener.h
|
---|
95 |
|
---|
96 | tests_LDADD = @CHECK_LIBS@ $(top_builddir)/libsubunit.la
|
---|
97 | c_tests_test_child_CFLAGS = -I$(top_srcdir)/c/include $(SUBUNIT_CFLAGS) @CHECK_CFLAGS@
|
---|
98 | c_tests_test_child_LDADD = $(tests_LDADD)
|
---|
99 |
|
---|
100 |
|
---|
101 | all-local: perl/Makefile
|
---|
102 | $(MAKE) -C perl all
|
---|
103 |
|
---|
104 | check-local: perl/Makefile
|
---|
105 | $(MAKE) -C perl check
|
---|
106 |
|
---|
107 | clean-local:
|
---|
108 | find . -type f -name "*.pyc" -exec rm {} ';'
|
---|
109 | rm -f perl/Makefile
|
---|
110 |
|
---|
111 | # Remove perl dir for VPATH builds.
|
---|
112 | distclean-local:
|
---|
113 | -rmdir perl > /dev/null
|
---|
114 | -rm perl/Makefile.PL > /dev/null
|
---|
115 |
|
---|
116 | install-exec-local: perl/Makefile
|
---|
117 | $(MAKE) -C perl install
|
---|
118 |
|
---|
119 | mostlyclean-local:
|
---|
120 | rm -rf perl/blib
|
---|
121 | rm -rf perl/pm_to_blib
|
---|
122 |
|
---|
123 | # 'uninstall' perl files during distcheck
|
---|
124 | uninstall-local:
|
---|
125 | if [ "_inst" = `basename ${prefix}` ]; then \
|
---|
126 | $(MAKE) -C perl uninstall_distcheck; \
|
---|
127 | rm -f "$(DESTDIR)$(bindir)"/subunit-diff; \
|
---|
128 | fi
|
---|
129 |
|
---|
130 | # The default for MakeMaker; can be overridden by exporting
|
---|
131 | INSTALLDIRS ?= site
|
---|
132 |
|
---|
133 | perl/Makefile: perl/Makefile.PL
|
---|
134 | mkdir -p perl
|
---|
135 | cd perl && perl Makefile.PL INSTALLDIRS=${INSTALLDIRS}
|
---|
136 | -rm perl/Makefile.old > /dev/null
|
---|