Make cleaning in Python dir optional as well, to avoid problems with missing setuptools
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 15 Jan 2008 17:50:06 +0000 (17:50 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 15 Jan 2008 17:50:06 +0000 (17:50 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1217 9efc2488-bf62-4759-914b-345cdb29e865

src/Makefile
src/python/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
 
 
index 9eafc3c..6be673c 100644 (file)
@@ -18,5 +18,5 @@ install:      build
 # CLEAN        
 # ------------------------------------------------------------------------------
 clean:
-       /bin/rm -rf build 
+       python setup.py clean --all