From b5ff6816face6f8c1700d4f1df752c710620ff95 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 8 Apr 2009 17:19:09 +0100 Subject: Version 0.5: Numerous small fixes to make rpmbuild work again. --- perl/Makefile.am | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'perl') diff --git a/perl/Makefile.am b/perl/Makefile.am index 2b5b1ddb..24548ed9 100644 --- a/perl/Makefile.am +++ b/perl/Makefile.am @@ -18,9 +18,12 @@ EXTRA_DIST = \ Makefile.PL.in \ Guestfs.xs \ - guestfs_perl.c \ typemap \ - perl/lib/Sys/Guestfs.pm + lib/Sys/Guestfs.pm \ + examples/README \ + examples/LICENSE \ + examples/*.pl \ + t/*.t if HAVE_PERL @@ -29,11 +32,13 @@ if HAVE_PERL TESTS = run-perl-tests +INSTALLDIRS = site + all: - perl Makefile.PL - make -f Makefile-pl + perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix) + $(MAKE) -f Makefile-pl install-data-hook: - make -f Makefile-pl DESTDIR=$(DESTDIR) install + $(MAKE) -f Makefile-pl DESTDIR=$(DESTDIR) install endif -- cgit