summaryrefslogtreecommitdiffstats
path: root/perl
diff options
context:
space:
mode:
authorRichard Jones <rjones@trick.home.annexia.org>2009-07-16 18:23:53 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-07-16 18:23:53 +0100
commit811b4a51dc25219e19527304892e7f688867e105 (patch)
tree9f1f7413dac87b1cbce0601a33aa214f3d6a00c1 /perl
parent98515732084c6856c2e22364b2ae64113c2c37c6 (diff)
downloadlibguestfs-811b4a51dc25219e19527304892e7f688867e105.tar.gz
libguestfs-811b4a51dc25219e19527304892e7f688867e105.tar.xz
libguestfs-811b4a51dc25219e19527304892e7f688867e105.zip
Fix for non-srcdir builds: more misc fixes.
Diffstat (limited to 'perl')
-rw-r--r--perl/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl/Makefile.am b/perl/Makefile.am
index 9e329693..4b7ed993 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -48,10 +48,12 @@ all: Makefile-pl
Makefile-pl: Makefile.PL
perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix)
-CLEANFILES = Makefile-pl
+# No! Otherwise it is deleted before the clean-local rule runs.
+#CLEANFILES = Makefile-pl
clean-local:
-$(MAKE) -f Makefile-pl clean
+ rm -f Makefile-pl
install-data-hook:
$(MAKE) -f Makefile-pl DESTDIR=$(DESTDIR) install