File: rules

package info (click to toggle)
mock 1.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,572 kB
  • ctags: 533
  • sloc: python: 4,816; sh: 429; ansic: 66; makefile: 47
file content (22 lines) | stat: -rwxr-xr-x 507 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
#!/usr/bin/make -f
%:
	dh $@ --with python3

# FIXME: this should be removed in the future
override_dh_clean:
	dh_clean
	chmod a+x py/mockbuild/trace_decorator.py

override_dh_auto_install:
	./debian/setup $(CURDIR)/debian/mock

override_dh_auto_test:
	# Don't run dh_auto_test (selt tests), as they seem to require root.

override_dh_python3:
	dh_python3
	chmod a-x $(CURDIR)/debian/mock/usr/lib/python3/dist-packages/mockbuild/trace_decorator.py


# There is a directory called "build"
build: build-indep