File: rules

package info (click to toggle)
uncalled 2.2%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 944 kB
  • sloc: cpp: 5,226; python: 1,994; sh: 125; makefile: 68
file content (18 lines) | stat: -rwxr-xr-x 452 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8
export PYBUILD_NAME=uncalled

# for hardening you might like to uncomment this:
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

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

override_dh_auto_clean:
	if dpkg -s python3-pybind11 >/dev/null 2>/dev/null ; then \
	    dh_auto_clean ; \
	else \
	    echo "skip dh_auto_clean since python3-pybind11 is not installed on your local machine" ; \
	fi