Replaced all 'dict.has_key(item)' with 'item in dict' expressions.
[python-purple] / debian / rules
1 #!/usr/bin/make -f
2 DEB_DIR=debian/python-purple
3
4 build:
5
6 clean:
7         dh_testdir
8         python2.5 setup_dist.py clean
9         rm -f `find $(CURDIR) -name '*.py[co]'`
10         rm -rf build-stamp build
11         rm -rf $(DEB_DIR)
12         #rm -rf purple.c
13         dh_clean install-stamp
14
15 install: build install-stamp
16 install-stamp:
17         dh_testdir
18         dh_testroot
19         dh_installdirs
20         python2.5 setup_dist.py install --root=$(DEB_DIR)
21
22 binary-indep: build install
23         dh_testdir
24         dh_testroot
25         dh_installdocs
26         dh_installchangelogs
27         dh_compress -X.py
28         dh_fixperms
29         dh_installdeb
30         dh_gencontrol
31         dh_md5sums
32         dh_builddeb
33
34 binary-arch:
35
36 binary: binary-indep binary-arch
37 .PHONY: build clean binary-indep binary-arch binary install