2010-06-21 14:12:26 +04:00
|
|
|
CDUP=../..
|
2010-06-18 13:46:51 +04:00
|
|
|
PKG=asterisk
|
|
|
|
PY=agi.py agitb.py config.py __init__.py manager.py
|
|
|
|
SRC=Makefile MANIFEST.in setup.py README README.html \
|
|
|
|
$(PY:%.py=$(PKG)/%.py)
|
|
|
|
|
|
|
|
VERSIONPY=asterisk/Version.py
|
|
|
|
VERSION=$(VERSIONPY)
|
|
|
|
LASTRELEASE:=$(shell ../svntools/lastrelease -n)
|
|
|
|
|
|
|
|
USERNAME=schlatterbeck
|
|
|
|
PROJECT=pyst
|
2010-06-30 18:30:41 +04:00
|
|
|
PACKAGE=${PROJECT}
|
2010-06-18 13:46:51 +04:00
|
|
|
CHANGES=changes
|
|
|
|
NOTES=notes
|
|
|
|
|
|
|
|
all: $(VERSION)
|
|
|
|
|
|
|
|
$(VERSION): $(SRC)
|
|
|
|
|
|
|
|
dist: all
|
|
|
|
python setup.py sdist --formats=gztar,zip
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f MANIFEST README.html default.css \
|
|
|
|
$(PKG)/Version.py $(PKG)/Version.pyc ${CHANGES} ${NOTES}
|
|
|
|
rm -rf dist build
|
|
|
|
|
|
|
|
release: upload upload_homepage announce_pypi announce
|
|
|
|
|
|
|
|
include ../make/Makefile-sf
|