|
Revision 506:09ac77368ca2, 2.0 kB
(checked in by Brian Warner <warner@allmydata.com>, 1 month ago)
|
Makefile: fix test-figleaf-poll target
|
| Line | |
|---|
| 1 |
.PHONY: build test debian-sid debian-dapper debian-feisty debian-sarge |
|---|
| 2 |
.PHONY: debian-edgy debian-etch |
|---|
| 3 |
|
|---|
| 4 |
build: |
|---|
| 5 |
python setup.py build |
|---|
| 6 |
|
|---|
| 7 |
TRIAL=trial |
|---|
| 8 |
TEST=foolscap |
|---|
| 9 |
test: |
|---|
| 10 |
$(TRIAL) $(TEST) |
|---|
| 11 |
|
|---|
| 12 |
test-figleaf: |
|---|
| 13 |
rm -f .figleaf |
|---|
| 14 |
PYTHONPATH=misc/testutils $(TRIAL) --reporter=bwverbose-figleaf $(TEST) |
|---|
| 15 |
|
|---|
| 16 |
test-poll: |
|---|
| 17 |
$(MAKE) test TRIAL="trial -r poll" |
|---|
| 18 |
test-figleaf-poll: |
|---|
| 19 |
$(MAKE) test-figleaf TRIAL="trial -r poll" |
|---|
| 20 |
|
|---|
| 21 |
figleaf-output: |
|---|
| 22 |
rm -rf coverage-html |
|---|
| 23 |
PYTHONPATH=misc/testutils python misc/testutils/figleaf2html -d coverage-html -r . -x misc/testutils/figleaf.excludes |
|---|
| 24 |
@echo "now point your browser at coverage-html/index.html" |
|---|
| 25 |
.figleaf.el: .figleaf |
|---|
| 26 |
PYTHONPATH=misc/testutils python misc/testutils/figleaf2el.py .figleaf . |
|---|
| 27 |
|
|---|
| 28 |
debian-sid: |
|---|
| 29 |
rm -f debian |
|---|
| 30 |
ln -s misc/sid/debian debian |
|---|
| 31 |
chmod a+x debian/rules |
|---|
| 32 |
debuild -uc -us |
|---|
| 33 |
|
|---|
| 34 |
debian-etch: |
|---|
| 35 |
rm -f debian |
|---|
| 36 |
ln -s misc/etch/debian debian |
|---|
| 37 |
chmod a+x debian/rules |
|---|
| 38 |
debuild -uc -us |
|---|
| 39 |
|
|---|
| 40 |
debian-dapper: |
|---|
| 41 |
rm -f debian |
|---|
| 42 |
ln -s misc/dapper/debian debian |
|---|
| 43 |
chmod a+x debian/rules |
|---|
| 44 |
debuild -uc -us |
|---|
| 45 |
|
|---|
| 46 |
debian-edgy: |
|---|
| 47 |
rm -f debian |
|---|
| 48 |
ln -s misc/edgy/debian debian |
|---|
| 49 |
chmod a+x debian/rules |
|---|
| 50 |
debuild -uc -us |
|---|
| 51 |
|
|---|
| 52 |
debian-feisty: |
|---|
| 53 |
rm -f debian |
|---|
| 54 |
ln -s misc/feisty/debian debian |
|---|
| 55 |
chmod a+x debian/rules |
|---|
| 56 |
debuild -uc -us |
|---|
| 57 |
|
|---|
| 58 |
debian-gutsy: |
|---|
| 59 |
rm -f debian |
|---|
| 60 |
ln -s misc/gutsy/debian debian |
|---|
| 61 |
chmod a+x debian/rules |
|---|
| 62 |
debuild -uc -us |
|---|
| 63 |
|
|---|
| 64 |
debian-hardy: |
|---|
| 65 |
rm -f debian |
|---|
| 66 |
ln -s misc/hardy/debian debian |
|---|
| 67 |
chmod a+x debian/rules |
|---|
| 68 |
debuild -uc -us |
|---|
| 69 |
|
|---|
| 70 |
debian-sarge: |
|---|
| 71 |
rm -f debian |
|---|
| 72 |
ln -s misc/sarge/debian debian |
|---|
| 73 |
chmod a+x debian/rules |
|---|
| 74 |
debuild -uc -us |
|---|
| 75 |
|
|---|
| 76 |
DOC_TEMPLATE=doc/template.tpl |
|---|
| 77 |
docs: |
|---|
| 78 |
lore -p --config template=$(DOC_TEMPLATE) --config ext=.html \ |
|---|
| 79 |
--config baseurl='api/%s-class.html' \ |
|---|
| 80 |
`find doc -name '*.xhtml'` |
|---|
| 81 |
doc/%.html: doc/%.xhtml |
|---|
| 82 |
lore -p --config template=$(DOC_TEMPLATE) --config ext=.html \ |
|---|
| 83 |
--config baseurl='api/%s-class.html' \ |
|---|
| 84 |
$< |
|---|
| 85 |
|
|---|
| 86 |
api-docs: |
|---|
| 87 |
rm -rf doc/api |
|---|
| 88 |
PYTHONPATH=. epydoc -v -o doc/api --html -n Foolscap -u http://foolscap.lothar.com --exclude foolscap.test foolscap |
|---|
| 89 |
|
|---|
| 90 |
pyflakes: |
|---|
| 91 |
pyflakes bin foolscap |sort |uniq |
|---|
| 92 |
|
|---|
| 93 |
find-trailing-spaces: |
|---|
| 94 |
find-trailing-spaces -r bin foolscap |
|---|