Clean up Makefile, ensure release is useful again
This commit is contained in:
parent
c630917d0d
commit
3e4632979f
68
Makefile
68
Makefile
|
@ -1,59 +1,8 @@
|
|||
# releases:
|
||||
# aerodactyl (13sep03)
|
||||
# bulbasaur (18sep03)
|
||||
# charmander (10nov03)
|
||||
# doduo (04jan04) - 0.9
|
||||
# eevee (08mar04)
|
||||
# fearow (23apr04)
|
||||
# gyarados (31may04)
|
||||
# horsea (27jun04)
|
||||
# ivysaur (22oct04)
|
||||
# jigglypuff (6nov04) - 1.0
|
||||
# kabuto (12dec04) - 1.1
|
||||
# lapras (28feb05) - 1.2
|
||||
# marowak (9apr05) - 1.3
|
||||
# nidoran (28jun05) - 1.3.1
|
||||
# oddish (17jul05) - 1.4
|
||||
# paras (2oct05) - 1.5
|
||||
# quilava (31oct05) - 1.5.1
|
||||
# rhydon (04dec05) - 1.5.2
|
||||
# squirtle (19feb06) - 1.5.3
|
||||
# tentacool (11mar06) - 1.5.4
|
||||
# umbreon (10may06) - 1.6
|
||||
# vulpix (10jul06) - 1.6.1
|
||||
# weedle (16aug06) - 1.6.2
|
||||
# xatu (14oct06) - 1.6.3
|
||||
# yanma (19nov06) - 1.6.4
|
||||
# zubat (18feb07) - 1.7
|
||||
# amy (10jun07) - 1.7.1
|
||||
# basil (21jan08) - 1.7.2
|
||||
# clara (23mar08) - 1.7.3
|
||||
# desmond (06jul08) - 1.7.4
|
||||
# ernest (19jul09) - 1.7.5
|
||||
# fanny (1nov09) - 1.7.6
|
||||
# george (21may11) - 1.7.7.1
|
||||
|
||||
|
||||
ifeq ($(wildcard /sbin/md5),/sbin/md5)
|
||||
# os x
|
||||
MD5SUM := /sbin/md5
|
||||
else
|
||||
MD5SUM := md5sum
|
||||
endif
|
||||
|
||||
release: docs
|
||||
python ./setup.py sdist --formats=zip
|
||||
python ./setup.py sdist --formats=gztar
|
||||
python ./setup.py bdist_egg
|
||||
zip -r dist/docs.zip docs && rm -rf docs
|
||||
cd dist && $(MD5SUM) ssh*.zip *.gz > md5-sums
|
||||
cd dist && gpg -ba ssh*.zip
|
||||
cd dist && gpg -ba ssh*.gz
|
||||
python setup.py sdist register upload
|
||||
|
||||
|
||||
docs: always
|
||||
docs:
|
||||
epydoc --no-private -o docs/ ssh
|
||||
always:
|
||||
|
||||
clean:
|
||||
rm -rf build dist docs
|
||||
|
@ -64,16 +13,3 @@ clean:
|
|||
|
||||
test:
|
||||
python ./test.py
|
||||
|
||||
# places where the version number is stored:
|
||||
#
|
||||
# setup.py
|
||||
# __init__.py
|
||||
# README
|
||||
# transport.py
|
||||
#
|
||||
# TRY on windows vm
|
||||
# POST gpg sig on website!
|
||||
# POST md5sum on website!
|
||||
# RUN setup.py
|
||||
# DO the push to pypy
|
||||
|
|
Loading…
Reference in New Issue