File: rules

package info (click to toggle)
hgsubversion 1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,240 kB
  • sloc: python: 8,744; sh: 1,290; makefile: 40
file content (30 lines) | stat: -rwxr-xr-x 524 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

MODULE_DIR = usr/lib/$(shell pyversions -d)/site-packages/hgext/

build:

clean:
	dh clean
	find $(CURDIR) -type f -name '*\.py[co]' -delete

install: build
	dh_installdirs $(MODULE_DIR)/hgsubversion
	cp hgsubversion/ -r debian/hgsubversion/$(MODULE_DIR)

binary-indep: install
	dh binary-indep --with python2

binary-arch:

build-arch: build

build-indep: build

binary: binary-indep binary-arch

patch unpatch:
	dh_quilt_$(@)

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