X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=perl%2FMakefile.am;h=4b7ed99377db693787002198c1d61884d7ea8d5d;hp=9e32969329bf7f00d16349f16c9fde2ba14d29e1;hb=8ab8377ef64ec0e2483826388cf7d3c07ffa8ecc;hpb=a865795a7edfdc939cf3864ca1b7ea9cdc564dc7 diff --git a/perl/Makefile.am b/perl/Makefile.am index 9e32969..4b7ed99 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