Add sdist make target to build the MANIFEST.in file.
This commit is contained in:
9
Makefile
9
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
|
||||
|
||||
Reference in New Issue
Block a user