File: rules

package info (click to toggle)
python-ncls 0.0.70%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 412 kB
  • sloc: ansic: 2,246; python: 197; sh: 18; makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 341 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
export DH_VERBOSE = 1

export PYBUILD_NAME=ncls
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install:
	# Compensate for `where = ["."]` in pyproject.toml.
	rm -rf debian/*/usr/lib/python*/dist-packages/debian
	rm -rf debian/*/usr/lib/python*/dist-packages/examples