Install the perl modules.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 8 Sep 2009 10:07:55 +0000 (12:07 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 8 Sep 2009 10:07:55 +0000 (12:07 +0200)
.bzrignore
Makefile.am
perl/Makefile.PL

index 328b4a103ee26ae50c6e35f690d0aa4536ed7075..57bd6e53dfa44d372270462151cb355cb42dbdd4 100644 (file)
@@ -31,3 +31,4 @@ Makefile
 config.h
 ./perl/blib
 ./perl/pm_to_blib
 config.h
 ./perl/blib
 ./perl/pm_to_blib
+perl/Makefile.old
index eb1ee49f648c43e61e2d7793bb51557225975b74..4cbd0bb3e3b0fa8b83642d86ddee6ede1b165060 100644 (file)
@@ -78,3 +78,10 @@ libsubunit_la_SOURCES = \
 tests_LDADD = @CHECK_LIBS@ $(top_builddir)/libsubunit.la
 c_tests_test_child_CFLAGS = $(SUBUNIT_CFLAGS) @CHECK_CFLAGS@
 c_tests_test_child_LDADD = $(tests_LDADD)
 tests_LDADD = @CHECK_LIBS@ $(top_builddir)/libsubunit.la
 c_tests_test_child_CFLAGS = $(SUBUNIT_CFLAGS) @CHECK_CFLAGS@
 c_tests_test_child_LDADD = $(tests_LDADD)
+
+SUBDIRS = . perl
+
+all-local: perl/Makefile
+
+perl/Makefile: perl/Makefile.PL
+       cd perl && perl Makefile.PL
index 917dd99d897b6e94117c7c21d9e2ab978cc5661c..091822e2050288bb7d12e5bf625dbfa71a0b30db 100755 (executable)
@@ -4,3 +4,8 @@ WriteMakefile(
     'VERSION_FROM' => 'lib/Subunit.pm',
        'test' => { 'TESTS' => 'tests/*.pl' }
 );
     'VERSION_FROM' => 'lib/Subunit.pm',
        'test' => { 'TESTS' => 'tests/*.pl' }
 );
+sub MY::postamble {
+<<'EOT';
+check: test
+EOT
+}