test_transfer: remove the short timeouts, now that the patch is done
[buildbot.git] / Makefile
blob46c775f707c8f6a4c9a8f51d1d6ff7b2e5aaaf3b
2 # this is just a convenience for developers, and to automate the release
3 # process a little bit. This Makefile is not included in the source tarball.
5 BBBASE = $(PWD)
6 TRIALARGS=
7 ifdef SVN
8 T=~/stuff/python/twisted/Twisted
9 TRIALARGS=--reporter=verbose
10 else
12 endif
13 ifdef T13
14 T=~/stuff/python/twisted/Twisted-1.3.0
15 TRIALARGS=-v
16 endif
17 PP = PYTHONPATH=$(BBBASE):$(T)
19 .PHONY: test
20 TRIAL=trial
21 TEST=buildbot.test
22 test:
23 $(PP) $(TRIAL) $(TRIALARGS) $(TEST)
26 #debuild -uc -us
28 deb-snapshot:
29 debchange --newversion `PYTHONPATH=. python -c "import buildbot; print buildbot.version"`.`date +%Y.%m.%d.%H.%M.%S` \
30 "snapshot build"
31 debuild binary
33 .PHONY: docs apidocs some-apidocs paper
34 docs:
35 $(MAKE) -C docs buildbot.info buildbot.html
37 apidocs:
38 PYTHONPATH=.:$(T) python docs/epyrun -o docs/reference
39 some-apidocs:
40 PYTHONPATH=.:$(T) python docs/epyrun -o docs/reference --modules $(EPYDOCS)
41 paper:
42 $(MAKE) -C docs/PyCon-2003 all
44 release: docs
45 chmod 0755 .
46 find buildbot contrib docs -type d -exec chmod 0755 {} \;
47 find bin buildbot contrib docs -type f -exec chmod 0644 {} \;
48 chmod 0644 ChangeLog MANIFEST* NEWS README* setup.py
49 chmod a+x bin/buildbot contrib/*.py contrib/windows/*.py
50 rm -rf _trial_temp
51 python ./setup.py clean
52 rm -f MANIFEST
53 python ./setup.py sdist --formats gztar,zip
55 FLAKES=buildbot
56 pyflakes:
57 pyflakes $(FLAKES)