X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=perl%2FMakefile.am;h=4b7ed99377db693787002198c1d61884d7ea8d5d;hp=9e32969329bf7f00d16349f16c9fde2ba14d29e1;hb=811b4a51dc25219e19527304892e7f688867e105;hpb=98515732084c6856c2e22364b2ae64113c2c37c6 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