File: rules

package info (click to toggle)
python-distro 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 140 kB
  • ctags: 61
  • sloc: python: 382; makefile: 9
file content (18 lines) | stat: -rwxr-xr-x 349 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_NAME=distro
#export PYBUILD_VERBOSE=1
#export DH_VERBOSE=1

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

# For now, I do not want to distribute /usr/bin/distro

override_dh_python3:
	dh_python3
	rm -rf debian/python3-distro/usr/bin

override_dh_python2:
	dh_python2
	rm -rf debian/python-distro/usr/bin