File: rules

package info (click to toggle)
libarcus 4.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 396 kB
  • sloc: cpp: 1,703; python: 54; sh: 42; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 494 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

include /usr/share/dpkg/pkg-info.mk

export PYBUILD_CONFIGURE_ARGS=-DPYVER={version}

override_dh_shlibdeps:
	dh_shlibdeps
	# reverse-depends should require our current version as minimum dependency
	sed -i -e "s/$$/ (>= $(DEB_VERSION_UPSTREAM))/" debian/libarcus3/DEBIAN/shlibs

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