blob: 932a8d887d21508331d6642a28822e21239abbbb (
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
|
#!/usr/bin/make -f
# 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 \
..
dh_auto_configure --builddirectory=ayatana-variant \
--buildsystem=cmake \
-- \
$(DEB_CMAKE_EXTRA_FLAGS) \
-DENABLE_LOMIRI_FEATURES=OFF \
..
override_dh_auto_build:
dh_auto_build --builddirectory=lomiri-variant \
--buildsystem=cmake \
..
dh_auto_build --builddirectory=ayatana-variant \
--buildsystem=cmake \
..
override_dh_auto_test:
dh_auto_test --no-parallel \
--builddirectory=lomiri-variant \
--buildsystem=cmake \
..
dh_auto_test --no-parallel \
--builddirectory=ayatana-variant \
--buildsystem=cmake \
..
override_dh_auto_install:
dh_auto_install --builddirectory=lomiri-variant \
--buildsystem=cmake \
..
dh_auto_install --builddirectory=ayatana-variant \
--buildsystem=cmake \
..
override_dh_auto_clean:
dh_auto_clean --builddirectory=lomiri-variant \
--buildsystem=cmake \
..
dh_auto_clean --builddirectory=ayatana-variant \
--buildsystem=cmake \
..
override_dh_missing:
dh_missing --fail-missing
|