-builddeb:
- rm -f sfaadmin sfascan sfi
- # build the source package in the parent directory
- # then rename it to project_version.orig.tar.gz
- $(PYTHON) setup.py sdist $(COMPILE) --dist-dir=../ --prune
- rename -f 's/$(PROJECT)-(.*)\.tar\.gz/$(PROJECT)_$$1\.orig\.tar\.gz/' ../*
- # build the package
- dpkg-buildpackage -i -I -rfakeroot