Joe Gregorio | e202d21 | 2009-07-16 14:57:52 -0400 | [diff] [blame] | 1 | tests: |
| 2 | python httplib2test.py |
Joe Gregorio | 68cd898 | 2009-08-04 13:41:44 -0400 | [diff] [blame] | 3 | |
Joe Gregorio | 16db63a | 2009-12-24 09:51:30 -0500 | [diff] [blame^] | 4 | VERSION = $(shell python setup.py --version) |
| 5 | DST = dist/httplib2-$(VERSION) |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 6 | release: |
Joe Gregorio | 16db63a | 2009-12-24 09:51:30 -0500 | [diff] [blame^] | 7 | -mkdir dist |
| 8 | -rm -rf dist/httplib2-$(VERSION) |
| 9 | -rm dist/httplib2-$(VERSION).tar.gz |
| 10 | -rm dist/httplib2-$(VERSION).zip |
| 11 | -mkdir dist/httplib2-$(VERSION) |
| 12 | cp -r python2 $(DST) |
| 13 | cp -r python3 $(DST) |
| 14 | cp setup.py README MANIFEST CHANGELOG $(DST) |
| 15 | cd dist && tar -czv -f httplib2-$(VERSION).tar.gz httplib2-$(VERSION) |
| 16 | cd dist && zip httplib2-$(VERSION).zip -r httplib2-$(VERSION) |
| 17 | |
Joe Gregorio | 68cd898 | 2009-08-04 13:41:44 -0400 | [diff] [blame] | 18 | |
jcgregorio | 076f54d | 2006-07-03 17:34:16 +0000 | [diff] [blame] | 19 | doc: |
jcgregorio | 88ada9a | 2007-05-03 13:20:38 +0000 | [diff] [blame] | 20 | #pudge -v -f --modules=httplib2 --dest=build/doc |
Joe Gregorio | febf52d | 2009-12-24 09:05:42 -0500 | [diff] [blame] | 21 | |
joe.gregorio | 5fcc199 | 2007-10-23 15:12:17 +0000 | [diff] [blame] | 22 | register: |
| 23 | python setup.py register |