diff --git a/Makefile b/Makefile index cd7e233e..847da779 100644 --- a/Makefile +++ b/Makefile @@ -24,8 +24,17 @@ clean: clean-all: clean rm -rf $(venv) +MANIFEST.in: + [ -d .bzr ] || (echo "Must be a bzr checkout" ; exit 1) + bzr ls --kind=file -VR | while read f; do echo include "$$f"; done > $@ + +sdist: MANIFEST.in + python setup.py sdist + $(venv): @echo "You need to install the Nova virtualenv before you can run this." @echo "" @echo "Please run tools/install_venv.py" @exit 1 + +.PHONY: MANIFEST.in