File: rules

package info (click to toggle)
cfv 1.18.3-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 772 kB
  • ctags: 510
  • sloc: python: 3,506; sh: 147; makefile: 83
file content (30 lines) | stat: -rwxr-xr-x 645 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
#!/usr/bin/make -f

include /usr/share/dpatch/dpatch.make
include /usr/share/python/python.mk

build: patch build-stamp
build-stamp:
	touch $@

clean: unpatch
	dh $@

install: build install-stamp
install-stamp:
	dh_testdir
	dh_testroot
	mkdir -p debian/cfv/usr/lib/$(shell pyversions -d)/$(call py_sitename, $(shell pyversions -d))
	make install-wrapper-only prefix=/usr mandir=/usr/share/man DESTDIR=debian/cfv/ pkgdir=/usr/lib/$(shell pyversions -d)/$(call py_sitename, $(shell pyversions -d))
	touch $@


binary-indep: build install
	dh_testdir
	dh_testroot
	dh_install -i

binary-arch: build install

binary: binary-indep binary-arch
	dh $@