File: rules

package info (click to toggle)
python-construct-classes 0.1.2-3~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 108 kB
  • sloc: python: 108; makefile: 7
file content (16 lines) | stat: -rwxr-xr-x 604 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME=construct_classes

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install::
	# Remove license files whose information has been copied to debian/copyright.
	rm debian/python3-construct-classes/usr/lib/python3*/dist-packages/LICENSE

	# Remove changelog, already copied to to /usr/share/doc/python3-construct-classes.
	rm debian/python3-construct-classes/usr/lib/python3*/dist-packages/CHANGELOG.rst

	# Remove readme, already copied to /usr/share/doc/python3-construct-classes.
	rm debian/python3-construct-classes/usr/lib/python3*/dist-packages/README.rst