File: rules

package info (click to toggle)
python-nubia 0.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 772 kB
  • sloc: python: 4,182; makefile: 9; sh: 1
file content (17 lines) | stat: -rwxr-xr-x 496 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=nubia

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

override_dh_python3:
	dh_python3
	rm -rf $(CURDIR)/debian/python3-nubia/usr/lib/python3/dist-packages/nubia_complete
	rm -rf $(CURDIR)/debian/python3-nubia/usr/lib/python3/dist-packages/example
	rm -rf $(CURDIR)/debian/python3-nubia/usr/lib/python3/dist-packages/LICENSE
	rm -rf $(CURDIR)/debian/python3-nubia/usr/bin