forked from warner/foolscap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
96 lines (78 loc) · 2.05 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
.PHONY: build test debian-sid debian-dapper debian-feisty debian-sarge
.PHONY: debian-edgy debian-etch
build:
python setup.py build
TRIAL=trial
TEST=foolscap
test:
$(TRIAL) $(TEST)
test-figleaf:
rm -f .figleaf
PYTHONPATH=misc/testutils $(TRIAL) --reporter=bwverbose-figleaf $(TEST)
test-poll:
$(MAKE) test TRIAL="trial -r poll"
test-figleaf-poll:
$(MAKE) test-figleaf TRIAL="trial -r poll"
figleaf-output:
rm -rf coverage-html
PYTHONPATH=misc/testutils python misc/testutils/figleaf2html -d coverage-html -r . -x misc/testutils/figleaf.excludes
@echo "now point your browser at coverage-html/index.html"
.figleaf.el: .figleaf
PYTHONPATH=misc/testutils python misc/testutils/figleaf2el.py .figleaf .
debian-sid:
rm -f debian
ln -s misc/sid/debian debian
chmod a+x debian/rules
debuild -uc -us
debian-etch:
rm -f debian
ln -s misc/etch/debian debian
chmod a+x debian/rules
debuild -uc -us
debian-dapper:
rm -f debian
ln -s misc/dapper/debian debian
chmod a+x debian/rules
debuild -uc -us
debian-edgy:
rm -f debian
ln -s misc/edgy/debian debian
chmod a+x debian/rules
debuild -uc -us
debian-feisty:
rm -f debian
ln -s misc/feisty/debian debian
chmod a+x debian/rules
debuild -uc -us
debian-gutsy:
rm -f debian
ln -s misc/gutsy/debian debian
chmod a+x debian/rules
debuild -uc -us
debian-hardy:
rm -f debian
ln -s misc/hardy/debian debian
chmod a+x debian/rules
debuild -uc -us
debian-sarge:
rm -f debian
ln -s misc/sarge/debian debian
chmod a+x debian/rules
debuild -uc -us
LORE=lore
DOC_TEMPLATE=doc/template.tpl
docs:
$(LORE) -p --config template=$(DOC_TEMPLATE) --config ext=.html \
--config baseurl='api/%s-class.html' \
`find doc -name '*.xhtml'`
doc/%.html: doc/%.xhtml
$(LORE) -p --config template=$(DOC_TEMPLATE) --config ext=.html \
--config baseurl='api/%s-class.html' \
$<
api-docs:
rm -rf doc/api
PYTHONPATH=. epydoc -v -o doc/api --html -n Foolscap -u http://foolscap.lothar.com --exclude foolscap.test foolscap
pyflakes:
pyflakes bin foolscap |sort |uniq
find-trailing-spaces:
find-trailing-spaces -r bin foolscap