File: rules

package info (click to toggle)
uncalled 2.3%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 952 kB
  • sloc: cpp: 5,335; python: 2,007; sh: 125; makefile: 69
file content (21 lines) | stat: -rwxr-xr-x 593 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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

# Building with HDF5/1.14.4.3, forwarded: https://github.com/skovaka/UNCALLED/issues/60
export DEB_CPPFLAGS_MAINT_APPEND = -DH5_USE_110_API

%:
	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