make sure clean works even when the perl Makefile is broken
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 2 Aug 2005 15:54:32 +0000 (15:54 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 2 Aug 2005 15:54:32 +0000 (15:54 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@666 a5681a0c-68f1-0310-ab6d-d61299d08faa

bindings/Makefile.am

index d68bb4b..32e55fd 100644 (file)
@@ -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##