Make cleaning in Python dir optional as well, to avoid problems with missing setuptools
[OpenSRF.git] / src / Makefile
index b6209a2..b789ffa 100644 (file)
@@ -142,7 +142,7 @@ clean:
        make -C srfsh clean
        make -C c-apps clean
        make -C java clean
-       make -C python clean
+       if [ -n "$(OSRF_INSTALL_PYTHON)" ]; then echo $@; make -C python clean; fi;
        /bin/rm -rf $(TMPDIR) *.o