File: rules

package info (click to toggle)
laniakea 0.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,460 kB
  • sloc: javascript: 38,493; python: 21,153; sh: 196; makefile: 129; ansic: 3
file content (27 lines) | stat: -rwxr-xr-x 722 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1

LANIAKEA_CONFIGURE_FLAGS = \
			-Dmailgun=true \
			-Dmirk=true

INSTALLDIR = $(CURDIR)/debian/tmp

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


override_dh_auto_configure:
	dh_auto_configure -- $(LANIAKEA_CONFIGURE_FLAGS)

override_dh_auto_test:
	# The full testsuite spawns a Postgres container via podman,
	# we can't run it at build-time but run it as autopkgtest instead.
	dh_auto_test -- --no-suite integration

override_dh_python3:
	dh_python3 -planiakea-mailgun /usr/lib/laniakea/mailgun/
	dh_python3 -planiakea-mirk --requires requirements.matrix.txt /usr/lib/laniakea/mirk/
	dh_python3 -ppython3-laniakea --requires requirements.base.txt
	dh_python3