X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=perl%2FMakefile.am;h=4b7ed99377db693787002198c1d61884d7ea8d5d;hp=55761b909a3d538613efb309e90af4403b8e03d2;hb=3385d7a1bf6afb8508ce334c6231c35cbe2fbae0;hpb=2f70ca487bee8babe5aef27f00a2131ea86ebd50 diff --git a/perl/Makefile.am b/perl/Makefile.am index 55761b9..4b7ed99 100644 --- a/perl/Makefile.am +++ b/perl/Makefile.am @@ -48,6 +48,13 @@ all: Makefile-pl Makefile-pl: Makefile.PL perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix) +# 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