~bzr/ubuntu/hardy/subunit/bzr-ppa

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Robert Collins
  • Date: 2009-09-20 02:16:29 UTC
  • mfrom: (73.1.11 debian)
  • Revision ID: robertc@robertcollins.net-20090920021629-r3mal3003qren1or
Merge 0.0.2 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
        INSTALL \
3
3
        Makefile.am \
4
4
        README \
 
5
        NEWS \
5
6
        c/README \
6
7
        c/check-subunit-0.9.3.patch \
7
8
        c/check-subunit-0.9.5.patch \
8
9
        c/check-subunit-0.9.6.patch \
9
10
        c++/README \
10
11
        c++/cppunit-subunit-1.10.2.patch \
 
12
        perl/subunit-diff \
 
13
        perl/Makefile.PL.in \
 
14
        perl/lib/Subunit/Diff.pm \
 
15
        perl/lib/Subunit.pm \
11
16
        python/subunit/__init__.py \
 
17
        python/subunit/progress_model.py \
12
18
        python/subunit/run.py \
13
19
        python/subunit/tests/TestUtil.py \
14
20
        python/subunit/tests/__init__.py \
18
24
        python/subunit/tests/test_subunit_stats.py \
19
25
        python/subunit/tests/test_subunit_tags.py \
20
26
        python/subunit/tests/test_tap2subunit.py \
 
27
        python/subunit/tests/test_progress_model.py \
21
28
        python/subunit/tests/test_test_protocol.py \
 
29
        python/subunit/tests/test_test_results.py \
22
30
        runtests.py \
23
31
        shell/README \
24
32
        shell/share/subunit.sh \
39
47
        filters/subunit-ls \
40
48
        filters/subunit-stats \
41
49
        filters/subunit-tags \
 
50
        filters/subunit2gtk \
 
51
        filters/subunit2junitxml \
42
52
        filters/subunit2pyunit \
43
53
        filters/tap2subunit
44
54
 
51
61
 
52
62
pkgpython_PYTHON = \
53
63
        python/subunit/__init__.py \
54
 
        python/subunit/run.py
 
64
        python/subunit/iso8601.py \
 
65
        python/subunit/progress_model.py \
 
66
        python/subunit/run.py \
 
67
        python/subunit/test_results.py
55
68
 
56
69
lib_LTLIBRARIES = libsubunit.la
57
70
 
64
77
check_SCRIPTS = \
65
78
        runtests.py
66
79
 
67
 
clean-local:
68
 
        find . -name "*.pyc" | xargs -r rm
69
 
 
70
80
libsubunit_la_SOURCES = \
71
81
        c/lib/child.c \
72
82
        c/include/subunit/child.h
74
84
tests_LDADD = @CHECK_LIBS@ $(top_builddir)/libsubunit.la
75
85
c_tests_test_child_CFLAGS = $(SUBUNIT_CFLAGS) @CHECK_CFLAGS@
76
86
c_tests_test_child_LDADD = $(tests_LDADD)
 
87
 
 
88
 
 
89
all-local: perl/Makefile
 
90
        $(MAKE) -C perl all
 
91
 
 
92
check-local: perl/Makefile
 
93
        $(MAKE) -C perl check
 
94
 
 
95
clean-local:
 
96
        find . -name "*.pyc" | xargs -r rm
 
97
        rm -f perl/Makefile
 
98
 
 
99
# Remove perl dir for VPATH builds.
 
100
distclean-local:
 
101
        -rmdir perl > /dev/null
 
102
        -rm perl/Makefile.PL > /dev/null
 
103
 
 
104
install-exec-local: perl/Makefile
 
105
        $(MAKE) -C perl install
 
106
 
 
107
mostlyclean-local:
 
108
        rm -rf perl/blib
 
109
        rm -rf perl/pm_to_blib
 
110
 
 
111
# 'uninstall' perl files during distcheck
 
112
uninstall-local:
 
113
        if [ "_inst" = `basename ${prefix}` ]; then \
 
114
          $(MAKE) -C perl uninstall_distcheck; \
 
115
            rm -f "$(DESTDIR)$(bindir)"/subunit-diff; \
 
116
        fi
 
117
 
 
118
# The default for MakeMaker; can be overridden by exporting
 
119
INSTALLDIRS ?= site
 
120
 
 
121
perl/Makefile: perl/Makefile.PL
 
122
        mkdir -p perl
 
123
        cd perl && perl Makefile.PL INSTALLDIRS=${INSTALLDIRS}
 
124
        -rm perl/Makefile.old > /dev/null