Code

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@666 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/bindings/Makefile.am

index d68bb4b114ab053535ac5e052ce0929513e2639c..32e55fd18fb6610e2e245a60e6d5825c9c5a6e32 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##