11 c/check-subunit-0.9.3.patch \
12 c/check-subunit-0.9.5.patch \
13 c/check-subunit-0.9.6.patch \
16 perl/lib/Subunit/Diff.pm \
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 \
38 shell/share/subunit.sh \
39 shell/subunit-ui.patch \
40 shell/tests/test_function_output.sh \
41 shell/tests/test_source_library.sh
43 ACLOCAL_AMFLAGS = -I m4
45 include_subunitdir = $(includedir)/subunit
48 filters/subunit-filter \
50 filters/subunit-stats \
51 filters/subunit-tags \
53 filters/subunit2junitxml \
54 filters/subunit2pyunit \
57 TESTS_ENVIRONMENT = SHELL_SHARE='$(top_srcdir)/shell/share/' PYTHONPATH='$(abs_top_srcdir)/python':${PYTHONPATH}
58 TESTS = runtests.py $(check_PROGRAMS)
60 ## install libsubunit.pc
61 pcdatadir = $(libdir)/pkgconfig
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
75 lib_LTLIBRARIES = libsubunit.la
76 lib_LTLIBRARIES += libcppunit_subunit.la
78 include_subunit_HEADERS = \
79 c/include/subunit/child.h \
80 c++/SubunitTestProgressListener.h
88 libsubunit_la_SOURCES = \
90 c/include/subunit/child.h
92 libcppunit_subunit_la_SOURCES = \
93 c++/SubunitTestProgressListener.cpp \
94 c++/SubunitTestProgressListener.h
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)
101 all-local: perl/Makefile
104 check-local: perl/Makefile
105 $(MAKE) -C perl check
108 find . -type f -name "*.pyc" -exec rm {} ';'
111 # Remove perl dir for VPATH builds.
113 -rmdir perl > /dev/null
114 -rm perl/Makefile.PL > /dev/null
116 install-exec-local: perl/Makefile
117 $(MAKE) -C perl install
121 rm -rf perl/pm_to_blib
123 # 'uninstall' perl files during distcheck
125 if [ "_inst" = `basename ${prefix}` ]; then \
126 $(MAKE) -C perl uninstall_distcheck; \
127 rm -f "$(DESTDIR)$(bindir)"/subunit-diff; \
130 # The default for MakeMaker; can be overridden by exporting
133 perl/Makefile: perl/Makefile.PL
135 cd perl && perl Makefile.PL INSTALLDIRS=${INSTALLDIRS}
136 -rm perl/Makefile.old > /dev/null