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 \
|
2010-06-30 20:05:24 +04:00
|
|
|
$(PKG)/Version.py $(PKG)/Version.pyc ${CHANGES} ${NOTES} \
|
|
|
|
upload ReleaseNotes.txt announce_pypi upload_homepage
|
2010-06-18 13:46:51 +04:00
|
|
|
rm -rf dist build
|
|
|
|
|
2010-06-30 20:05:24 +04:00
|
|
|
|
2010-06-18 13:46:51 +04:00
|
|
|
release: upload upload_homepage announce_pypi announce
|
|
|
|
|
|
|
|
include ../make/Makefile-sf
|