prepare for the release of rrdtool-1.2.12
[rrdtool.git] / bindings / Makefile.am
index d68bb4b..6594e18 100644 (file)
@@ -1,4 +1,3 @@
-
 if BUILD_TCL
 SUB_tcl = tcl
 endif
@@ -36,7 +35,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 perl-piped/Makefile || true
+       test -f perl-shared/Makefile && cd perl-shared && $(MAKE) clean || rm perl-shared/Makefile || true
 
 ##END##