File: rules

package info (click to toggle)
pymupdf 1.21.1%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 13,404 kB
  • sloc: python: 8,737; makefile: 8
file content (12 lines) | stat: -rwxr-xr-x 359 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export PYMUPDF_SETUP_MUPDF_BUILD=
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

override_dh_gencontrol:
	dh_gencontrol -- -VBuilt-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W libmupdf-dev)"

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