File: rules

package info (click to toggle)
sphinxcontrib-nwdiag 0.9.5-1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 368 kB
  • ctags: 338
  • sloc: python: 1,874; makefile: 10
file content (19 lines) | stat: -rwxr-xr-x 532 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.nwdiag
#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.nwdiag -name tests -a -type d | xargs rm -rf

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