blob: 164d6a793e7f33cc211da41b2627642f49a29f3c [file] [log] [blame]
Joe Gregorioe202d212009-07-16 14:57:52 -04001tests:
Joe Gregorio25dffef2009-12-24 10:06:02 -05002 cd python2 && python2.4 httplib2test.py
3 cd python2 && python2.5 httplib2test.py
4 cd python2 && python2.6 httplib2test.py
5 cd python3 && python3.1 httplib2test.py
Joe Gregorio68cd8982009-08-04 13:41:44 -04006
Joe Gregorio16db63a2009-12-24 09:51:30 -05007VERSION = $(shell python setup.py --version)
8DST = dist/httplib2-$(VERSION)
Joe Gregorio25dffef2009-12-24 10:06:02 -05009
jcgregorio2d66d4f2006-02-07 05:34:14 +000010release:
Joe Gregorio16db63a2009-12-24 09:51:30 -050011 -mkdir dist
12 -rm -rf dist/httplib2-$(VERSION)
13 -rm dist/httplib2-$(VERSION).tar.gz
14 -rm dist/httplib2-$(VERSION).zip
15 -mkdir dist/httplib2-$(VERSION)
16 cp -r python2 $(DST)
17 cp -r python3 $(DST)
18 cp setup.py README MANIFEST CHANGELOG $(DST)
19 cd dist && tar -czv -f httplib2-$(VERSION).tar.gz httplib2-$(VERSION)
20 cd dist && zip httplib2-$(VERSION).zip -r httplib2-$(VERSION)
21
jcgregorio076f54d2006-07-03 17:34:16 +000022doc:
jcgregorio88ada9a2007-05-03 13:20:38 +000023 #pudge -v -f --modules=httplib2 --dest=build/doc
Joe Gregoriofebf52d2009-12-24 09:05:42 -050024
joe.gregorio5fcc1992007-10-23 15:12:17 +000025register:
26 python setup.py register