summaryrefslogtreecommitdiffstats
path: root/perl/Makefile.am
diff options
context:
space:
mode:
authorMatthew Booth <mbooth@redhat.com>2009-06-24 11:50:08 +0100
committerMatthew Booth <mbooth@redhat.com>2009-06-24 11:50:08 +0100
commit5e332cc6c06532191f793a6789bafe818f726258 (patch)
tree3bd349071ecbd7c11fbd24f18045e793f8dfae07 /perl/Makefile.am
parentd3270cfadd3416bd9961a2c6fb1cc131c43979da (diff)
downloadlibguestfs-5e332cc6c06532191f793a6789bafe818f726258.tar.gz
libguestfs-5e332cc6c06532191f793a6789bafe818f726258.tar.xz
libguestfs-5e332cc6c06532191f793a6789bafe818f726258.zip
Fix dependencies in perl so it doesn't always rebuild
Diffstat (limited to 'perl/Makefile.am')
-rw-r--r--perl/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl/Makefile.am b/perl/Makefile.am
index 44ac42c0..747ac436 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -41,10 +41,12 @@ TESTS_ENVIRONMENT = \
INSTALLDIRS = site
-all:
- perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix)
+all: Makefile-pl
$(MAKE) -f Makefile-pl
+Makefile-pl: Makefile.PL
+ perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix)
+
install-data-hook:
$(MAKE) -f Makefile-pl DESTDIR=$(DESTDIR) install