Target cleanup and extended help system
[zope-bootstrap.git] / Makefile.buildout
index 0846414..4f71535 100644 (file)
@@ -105,9 +105,24 @@ bootstrap::
        sed -i -e '1s/^#!.*\/python/#!$(subst /,\/,$(PYTHON))/' $(PYTHON_DIR)/bin/*
        $(PYTHON) -c 'from zc.buildout.buildout import main; main(["bootstrap"])'
 
+update::
+       bin/buildout $(BUILDOUT_OPTS)
+
 .gitignore::
+       @$(gitignore) "*.egg-info/"
        @$(gitignore) "/buildout-net.cfg"
        @$(gitignore) "/buildout-nonet.cfg"
 
 clean::
        rm -f buildout-net.cfg buildout-nonet.cfg
+
+versions:
+       @echo "# Add the following lines to [versions] in buildout.cfg to pin all packages"
+       @bin/buildout -vvvvv | sed -ne 's/^Picked: //p' | sort | uniq 
+.PHONY: versions
+
+fullhelp::
+       @echo "    versions"
+       @echo "        Generate lines to be added to 'buildout.cfg' to pin all package"
+       @echo "        versions."
+       @echo