BUILDIR=$(CURDIR)/debian/avocadoPROJECT=avocadoall:@echo@echo"Debian related targets:"@echo"deb: Generate both source and binary debian packages"@echo"deb-src: Generate a source debian package"@echo"deb-bin: Generate a binary debian package"@echodeb-prepare-source:# build the source package in the parent directory# then rename it to project_version.orig.tar.gz dch -D"vivid"-M-v"$(VERSION)""Automated (make builddeb) build."$(PYTHON) setup.py sdist $(COMPILE)--dist-dir=../ rename -f's/$(PROJECT)-(.*)\.tar\.gz/$(PROJECT)_$$1\.orig\.tar\.gz/' ../*deb-src:deb-prepare-source# build the source package dpkg-buildpackage -S-elookkas@gmail.com -rfakerootdeb-bin:deb-prepare-source# build binary package dpkg-buildpackage -b-rfakerootdeb:deb-prepare-source# build both source and binary packages dpkg-buildpackage -i-I-rfakeroot