blob: 779c82b75c2bd7098e76e9b2a4cfcc18461d448d (
plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
#!/usr/bin/make -f
NULL =
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
DEB_CMAKE_EXTRA_FLAGS = \
-DENABLE_COVERAGE=OFF \
$(NULL)
ifeq ($(filter nocheck,$(DEB_BUILD_PROFILES)),)
DEB_CMAKE_EXTRA_FLAGS += -DENABLE_TESTS=ON
endif
%:
dh $@
override_dh_auto_configure:
dh_auto_configure --builddirectory=lomiri-variant \
--buildsystem=cmake \
-- \
$(DEB_CMAKE_EXTRA_FLAGS) \
-DENABLE_LOMIRI_FEATURES=ON \
-DENABLE_MKCAL=ON \
$(NULL)
dh_auto_configure --builddirectory=ayatana-variant \
--buildsystem=cmake \
-- \
$(DEB_CMAKE_EXTRA_FLAGS) \
-DENABLE_LOMIRI_FEATURES=OFF \
-DENABLE_MKCAL=OFF \
$(NULL)
override_dh_auto_build:
dh_auto_build --builddirectory=lomiri-variant \
--buildsystem=cmake \
$(NULL)
dh_auto_build --builddirectory=ayatana-variant \
--buildsystem=cmake \
$(NULL)
override_dh_auto_test:
dh_auto_test --no-parallel \
--builddirectory=lomiri-variant \
--buildsystem=cmake \
$(NULL)
dh_auto_test --no-parallel \
--builddirectory=ayatana-variant \
--buildsystem=cmake \
$(NULL)
override_dh_auto_install:
dh_auto_install --builddirectory=lomiri-variant \
--buildsystem=cmake \
$(NULL)
dh_auto_install --builddirectory=ayatana-variant \
--buildsystem=cmake \
$(NULL)
override_dh_auto_clean:
dh_auto_clean --builddirectory=lomiri-variant \
--buildsystem=cmake \
$(NULL)
dh_auto_clean --builddirectory=ayatana-variant \
--buildsystem=cmake \
$(NULL)
override_dh_missing:
dh_missing --fail-missing
|