lib/replace: Add ucontext configure autoconf checks.
[Samba.git] / lib / dnspython / Makefile
blob3dbfe9534699345609a5101d9e925e3fdf8089f3
1 # Copyright (C) 2003-2007, 2009 Nominum, Inc.
3 # Permission to use, copy, modify, and distribute this software and its
4 # documentation for any purpose with or without fee is hereby granted,
5 # provided that the above copyright notice and this permission notice
6 # appear in all copies.
8 # THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES
9 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR
11 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
14 # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 # $Id: Makefile,v 1.16 2004/03/19 00:17:27 halley Exp $
18 PYTHON=python
20 all:
21 ${PYTHON} ./setup.py build
23 install:
24 ${PYTHON} ./setup.py install
26 clean:
27 ${PYTHON} ./setup.py clean --all
28 find . -name '*.pyc' -exec rm {} \;
29 find . -name '*.pyo' -exec rm {} \;
30 rm -f TAGS
32 distclean: clean docclean
33 rm -rf build dist
34 rm -f MANIFEST
36 doc:
37 epydoc -n dnspython -u http://www.dnspython.org \
38 dns/*.py dns/rdtypes/*.py dns/rdtypes/ANY/*.py \
39 dns/rdtypes/IN/*.py
41 dockits: doc
42 mv html dnspython-html
43 tar czf html.tar.gz dnspython-html
44 zip -r html.zip dnspython-html
45 mv dnspython-html html
47 docclean:
48 rm -rf html.tar.gz html.zip html
50 kits:
51 ${PYTHON} ./setup.py sdist --formats=gztar,zip
52 # ${PYTHON} ./setup.py bdist_wininst
53 # ${PYTHON} ./setup.py bdist_rpm
55 tags:
56 find . -name '*.py' -print | etags -