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=b251025e62ca8d7b5eb5fbdd43df3f6d182f2948;p=rrdtool.git make sure clean works even when the perl Makefile is broken git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@666 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/bindings/Makefile.am b/bindings/Makefile.am index d68bb4b..32e55fd 100644 --- a/bindings/Makefile.am +++ b/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##