File: rules

package info (click to toggle)
sphinxcontrib-actdiag 0.8.5-1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 208 kB
  • ctags: 124
  • sloc: python: 650; makefile: 10
file content (19 lines) | stat: -rwxr-xr-x 535 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=sphinxcontrib.actdiag
#export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
export PYBUILD_DISABLE=test

%:
	dh $@ --with python2,python3 --buildsystem=pybuild

override_dh_python3:
	dh_python3
	find $(CURDIR)/debian/python3-sphinxcontrib.actdiag -name tests -a -type d | xargs rm -rf

override_dh_python2:
	dh_python2
	find $(CURDIR)/debian/python-sphinxcontrib.actdiag -name tests -a -type d | xargs rm -rf