Fix clean target
Stefan Bund [Fri, 30 Jul 2010 11:02:15 +0000 (13:02 +0200)]
Makefile.buildout
Makefile.pil
Makefile.pybase
Makefile.zope3-buildout

index ee93fba..0846414 100644 (file)
@@ -109,3 +109,5 @@ bootstrap::
        @$(gitignore) "/buildout-net.cfg"
        @$(gitignore) "/buildout-nonet.cfg"
 
+clean::
+       rm -f buildout-net.cfg buildout-nonet.cfg
index c137d35..ca16bbd 100644 (file)
@@ -33,8 +33,6 @@ pil: pil-unpack pil-build
 debdepends::
        aptitude install libjpeg62-dev libfreetype6-dev
 
-clean:: pil-clean
-
 setup:: pil
 
 help::
index 75333a7..6a7a0b5 100644 (file)
@@ -48,7 +48,6 @@ endef
 # with that name already exists.
 define install
     _install() {                                                                       \
-       echo $(PIP_CACHE_FILES);                                                        \
        echo "$(PIP) install --download-cache="$(DLCACHE)/pip" $(PIP_OPTS) $$1";        \
        $(PIP) install --download-cache="$(DLCACHE)/pip" $(PIP_OPTS) "$$1";             \
        cd $(DLCACHE)/pip;                                                              \
@@ -131,7 +130,8 @@ eggs::
 .env::
        @$(env) PATH $(BASEDIR)/$(PYTHON_DIR)/bin
 
-clean:: python-clean
+clean::
+       rm -rf "$(PYTHON_DIR)"
 
 setup:: pybase
 
index c0a7630..920eb71 100644 (file)
@@ -53,4 +53,4 @@ bootstrap::
        @$(env) PATH $(BASEDIR)/bin
 
 clean::
-       rm -rf bin $(EGGDIR) log var develop-eggs parts .installed.cfg
+       rm -rf bin develop-eggs $(EGGDIR) parts .installed.cfg