let the building of the perl extension be more reliable ...
[rrdtool.git] / bindings / python / Makefile.am
index 6510f1e..c8ffcb3 100644 (file)
@@ -2,8 +2,6 @@ AM_CPPFLAGS = @CFLAGS@ -I$(top_srcdir)/src @PYTHON_INCLUDES@
 
 #pythondir = $(pyexecdir)/python@PYTHON_VERSION@/site-packages
 
-if BUILD_PYTHON
-
 python_PROGRAMS = rrdtoolmodule.so
 
 rrdtoolmodule_so_LDFLAGS = -module -shared
@@ -12,7 +10,6 @@ rrdtoolmodule_so_SOURCES =     rrdtoolmodule.c
 
 noinst_HEADERS =                rrd_extra.h
 
-clean:
+clean-local:
        rm -rf build
 
-endif