File: rules

package info (click to toggle)
pyparted 3.12.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 964 kB
  • sloc: ansic: 7,112; python: 3,754; makefile: 94; sh: 4
file content (19 lines) | stat: -rwxr-xr-x 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk
export PKG_CONFIG_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig

export PYBUILD_NAME=parted

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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

override_dh_auto_install:
	dh_auto_install
	rm -rf debian/python3-parted-dbg/usr/lib/python3*/dist-packages/parted/

override_dh_clean:
	dh_clean
	rm -fr debian/python3-parted-dbg