forked from buildbot/buildbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
58 lines (47 loc) · 1.32 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# this is just a convenience for developers, and to automate the release
# process a little bit. This Makefile is not included in the source tarball.
BBBASE = $(PWD)
TRIALARGS=
ifdef SVN
T=~/stuff/python/twisted/Twisted
TRIALARGS=--reporter=verbose
else
T=
endif
ifdef T13
T=~/stuff/python/twisted/Twisted-1.3.0
TRIALARGS=-v
endif
PP = PYTHONPATH=$(BBBASE):$(T)
.PHONY: test
TRIAL=trial
TEST=buildbot.test
test:
$(PP) $(TRIAL) $(TRIALARGS) $(TEST)
#debuild -uc -us
deb-snapshot:
debchange --newversion `PYTHONPATH=. python -c "import buildbot; print buildbot.version"`.`date +%Y.%m.%d.%H.%M.%S` \
"snapshot build"
debuild binary
.PHONY: docs apidocs some-apidocs paper
docs:
$(MAKE) -C docs buildbot.info buildbot.html
apidocs:
PYTHONPATH=.:$(T) python docs/epyrun -o docs/reference
some-apidocs:
PYTHONPATH=.:$(T) python docs/epyrun -o docs/reference --modules $(EPYDOCS)
paper:
$(MAKE) -C docs/PyCon-2003 all
release: docs
chmod 0755 .
find buildbot contrib docs -type d -exec chmod 0755 {} \;
find bin buildbot contrib docs -type f -exec chmod 0644 {} \;
chmod 0644 MANIFEST* NEWS README* setup.py
chmod a+x bin/buildbot contrib/*.py contrib/windows/*.py
rm -rf _trial_temp
python ./setup.py clean
rm -f MANIFEST
python ./setup.py sdist --formats gztar,zip
FLAKES=buildbot
pyflakes:
pyflakes $(FLAKES) |sort |uniq