File: rules

package info (click to toggle)
laniakea 0.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,468 kB
  • sloc: javascript: 38,493; python: 21,153; sh: 201; makefile: 131; ansic: 3
file content (30 lines) | stat: -rwxr-xr-x 929 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
22
23
24
25
26
27
28
29
30
#!/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.
	# We also run the linters as part of autopkgtests for now.
	dh_auto_test -- --no-suite integration --no-suite linters

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 -planiakea-webdash --requires requirements.web.txt
	dh_python3 -planiakea-webswview --requires requirements.web.txt
	dh_python3