File: rules

package info (click to toggle)
python-mock 0.6.0-1.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 780 kB
  • ctags: 245
  • sloc: python: 755; makefile: 28
file content (42 lines) | stat: -rwxr-xr-x 800 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
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

.PHONY: build
build:
	dh build

.PHONY: clean
clean:
	dh clean

.PHONY: install
install: build
	dh install

.PHONY: binary-indep
binary-indep: build install
	dh binary-indep

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

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

.PHONY: override_dh_installchangelogs
override_dh_installchangelogs:
	dh_installchangelogs -k docs/changelog.txt

.PHONY: override_dh_installdocs
override_dh_installdocs:
	dh_installdocs
	# Remove embedded copy of libjs-jquery
	cd debian/python-mock/usr/share/doc/python-mock/_static \
		&& rm jquery.js \
		&& ln -s ../../../../javascript/jquery/jquery.js .

.PHONY: override_dh_compress
override_dh_compress:
	dh_compress -X.js -X.html