File: rules

package info (click to toggle)
python-openid 2.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,472 kB
  • ctags: 3,328
  • sloc: python: 16,708; xml: 234; sh: 38; makefile: 30
file content (43 lines) | stat: -rwxr-xr-x 692 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/make -f
# -*- makefile -*-

PACKAGE_NAME=python-openid

build:

clean:
	dh_testdir
	dh_testroot

	python setup.py clean
	rm -rf build

	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_prep

	python setup.py install --no-compile --root $(CURDIR)/debian/$(PACKAGE_NAME)

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs NEWS
	dh_installdocs
	dh_installexamples
	dh_install "doc/*" usr/share/doc/$(PACKAGE_NAME)/html
	dh_pysupport
	dh_compress -X.py -Xexamples
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch: build install


binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install