various: Remove references to about to be deleted thirdparty/dnspython
[vlendec/samba-autobuild/.git] / third_party / dnspython / Makefile
1 # Copyright (C) 2003-2007, 2009, 2011 Nominum, Inc.
2 #
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.
7 #
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.
15
16 # $Id: Makefile,v 1.16 2004/03/19 00:17:27 halley Exp $
17
18 PYTHON=python
19
20 all:
21         ${PYTHON} ./setup.py build
22
23 install:
24         ${PYTHON} ./setup.py install
25
26 clean:
27         ${PYTHON} ./setup.py clean --all
28         find . -name '*.pyc' -exec rm {} \;
29         find . -name '*.pyo' -exec rm {} \;
30         rm -f TAGS
31
32 distclean: clean docclean
33         rm -rf build dist
34         rm -f MANIFEST
35
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
40
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
46
47 docclean:
48         rm -rf html.tar.gz html.zip html
49
50 kits:
51         ${PYTHON} ./setup.py sdist --formats=gztar,zip
52 #       ${PYTHON} ./setup.py bdist_wininst
53 #       ${PYTHON} ./setup.py bdist_rpm
54
55 tags:
56         find . -name '*.py' -print | etags -