Imported Upstream version 0.5.0
[debian-pylibacl.git] / Makefile
1 .PHONY: doc test
2
3 all: doc test
4
5 posix1e.so: acl.c
6         ./setup.py build_ext --inplace
7
8 doc: posix1e.so
9         epydoc -q -o html --name pylibacl \
10                 --url http://pylibacl.sourceforge.net/ \
11                 --show-frames \
12                 --docformat epytext \
13                 --no-sourcecode \
14                 posix1e
15
16 test:
17         for ver in 2.4 2.5 2.6 3.0 3.1; do \
18           if type python$$ver >/dev/null; then \
19             echo Testing with python$$ver; \
20             python$$ver ./setup.py test; \
21           fi; \
22         done