From: oetiker Date: Tue, 2 Aug 2005 15:54:32 +0000 (+0000) Subject: make sure clean works even when the perl Makefile is broken X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=80d2388ee6d71a45219b1a52dbedc5455777d3b1;p=rrdtool-all.git make sure clean works even when the perl Makefile is broken git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@666 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/bindings/Makefile.am b/program/bindings/Makefile.am index d68bb4b1..32e55fd1 100644 --- a/program/bindings/Makefile.am +++ b/program/bindings/Makefile.am @@ -36,7 +36,7 @@ perl-shared/Makefile: perl-shared/Makefile.PL # LIBS="$(LDFLAGS) $(LIBS)" $(PERLFLAGS) $(PERL_MAKE_OPTIONS) clean-local: - test -f perl-piped/Makefile && cd perl-piped && $(MAKE) clean || true - test -f perl-shared/Makefile && cd perl-shared && $(MAKE) clean || true + test -f perl-piped/Makefile && cd perl-piped && $(MAKE) clean || rm Makefile || true + test -f perl-shared/Makefile && cd perl-shared && $(MAKE) clean || rm Makefile || true ##END##