File: rules

package info (click to toggle)
djvusmooth 0.2.7-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 408 kB
  • ctags: 915
  • sloc: python: 4,595; xml: 97; makefile: 54
file content (49 lines) | stat: -rwxr-xr-x 777 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
44
45
46
47
48
49
#!/usr/bin/make -f

.PHONY: build
build:
	dh build

.PHONY: build-arch
build-arch:

.PHONY: build-indep
build-indep: build

.PHONY: override_dh_auto_build
override_dh_auto_build:
	./update-i18n

.PHONY: override_dh_auto_test
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
	set -e -x; \
	for python in $(shell pyversions -r); do \
		grep --include='*.py' '>>>' -r . -l | xargs $$python /usr/bin/nosetests --with-doctest -v; \
	done
endif

.PHONY: install
install: build
	dh install

.PHONY: override_dh_auto_install
override_dh_auto_install:

.PHONY: binary
binary:
	dh binary

.PHONY: binary-arch
binary-arch:

.PHONY: binary-indep
binary-indep: binary

.PHONY: clean
clean:
	dh clean
	find -name '*.py[co]' -delete
	rm -Rf locale/

# vim:ts=4 sw=4 noet