2 VERSION = $(shell cat VERSION)
3 TAGVER = $(shell cat VERSION | sed -e "s/\([0-9\.]*\).*/\1/")
7 ifeq ($(VERSION), $(TAGVER))
18 $(PYTHON) setup.py build
21 git archive --format=tar --prefix=$(PKGNAME)-$(TAGVER)/ $(TAG) | \
22 bzip2 > $(PKGNAME)-$(TAGVER).tar.bz2
25 git archive --format=tar --prefix=$(PKGNAME)-$(TAGVER)/ $(TAG) | \
26 gzip > $(PKGNAME)-$(TAGVER).tar.gz
29 $(PYTHON) setup.py install --prefix=$(DESTDIR)/$(PREFIX)
32 $(PYTHON) setup.py develop