File: rules

package info (click to toggle)
python-unidiff 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 268 kB
  • ctags: 233
  • sloc: python: 577; makefile: 7; sh: 1
file content (17 lines) | stat: -rwxr-xr-x 583 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=unidiff

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


# TODO: we could link these back to /usr/bin/unidiff via update-alternatives,
# but meh effort, and probably nobody will use them anyway.
override_dh_install:
	dh_install
	mv debian/python3-unidiff/usr/bin/unidiff debian/python3-unidiff/usr/bin/python3-unidiff
	mv debian/python-unidiff/usr/bin/unidiff debian/python-unidiff/usr/bin/python-unidiff