comparison Makefile @ 5960:d8d1a130ee28

make dist (for trying release archive), make dist-release (for really releasing to pypi, with gnupg signature)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 13 Mar 2013 14:44:29 +0100
parents b43061e7c4d6
children f4028129b8cb
comparison
equal deleted inserted replaced
5959:63412f39e2b4 5960:d8d1a130ee28
60 pagepacks: 60 pagepacks:
61 @python MoinMoin/_tests/maketestwiki.py 61 @python MoinMoin/_tests/maketestwiki.py
62 @MoinMoin/script/moin.py --config-dir=MoinMoin/_tests --wiki-url=http://localhost/ maint mkpagepacks 62 @MoinMoin/script/moin.py --config-dir=MoinMoin/_tests --wiki-url=http://localhost/ maint mkpagepacks
63 cd $(share) ; rm -rf underlay 63 cd $(share) ; rm -rf underlay
64 cp -a $(testwiki)/underlay $(share)/ 64 cp -a $(testwiki)/underlay $(share)/
65 65
66 dist: 66 dist-clean:
67 -rm MANIFEST 67 -rm MANIFEST
68 -rm -rf tests/wiki 68 -rm -rf tests/wiki
69 -rm -rf wiki/data/cache/{__metalock__,__session__,wikiconfig} 69 -rm -rf wiki/data/cache/{__metalock__,__session__,wikiconfig}
70 ->wiki/data/event-log 70 ->wiki/data/event-log
71 ->wiki/data/edit-log 71 ->wiki/data/edit-log
72
73 dist: dist-clean
72 python setup.py sdist 74 python setup.py sdist
75
76 dist-release: dist-clean
77 python setup.py register sdist upload --identity="Thomas Waldmann" --sign
73 78
74 # Create patchlevel module 79 # Create patchlevel module
75 patchlevel: 80 patchlevel:
76 @echo -e patchlevel = "\"`hg identify`\"\n" >MoinMoin/patchlevel.py 81 @echo -e patchlevel = "\"`hg identify`\"\n" >MoinMoin/patchlevel.py
77 @MoinMoin/version.py update 82 @MoinMoin/version.py update